[SCM] live-boot branch, debian-next, updated. debian/3.0_a4-1-4-ge4e7f07
Daniel Baumann
daniel at debian.org
Sat Sep 4 06:22:06 UTC 2010
The following commit has been merged in the debian-next branch:
commit e4e7f07dd70e33980198d0275526fa13f7f79e01
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