[SCM] live-boot branch, debian-old-2.0, updated. debian/2.0.3-1-4-gbe44d66

Daniel Baumann daniel at debian.org
Sat Sep 4 06:22:07 UTC 2010


The following commit has been merged in the debian-old-2.0 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