[SCM] live-boot branch, debian, updated. debian/2.0.4-1

Daniel Baumann daniel at debian.org
Mon Sep 6 13:37:07 UTC 2010


The following commit has been merged in the debian branch:
commit be44d665e507f9cb00bf28b95ddb6612502d69af
Author: Steven Shiau <steven at nchc.org.tw>
Date:   Sat Sep 4 08:19:35 2010 +0200

    Allowing to assign no gateway in networking bottom script.

diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking
index 8c856c6..9554b77 100755
--- a/scripts/live-bottom/23networking
+++ b/scripts/live-bottom/23networking
@@ -65,10 +65,18 @@ allow-hotplug ${ifname}
 iface ${ifname} inet static
     address ${ifaddress}
     netmask ${ifnetmask}
+EOF
+
+if [ -n "${ifgateway}" ]
+then
+
+cat >> "${IFFILE}" << EOF
     gateway ${ifgateway}
 
 EOF
 
+fi
+
 	done
 else
 	if [ -z "${NETBOOT}" ] || [ -n "${DHCP}" ]

-- 
live-boot



More information about the debian-live-changes mailing list