[SCM] live-boot branch, debian, updated. debian/2.0.0-1-3-g4703057

Daniel Baumann daniel at debian.org
Wed Sep 1 16:28:58 UTC 2010


The following commit has been merged in the debian branch:
commit 795dea7c28e1421d5502d1cfbc54ce80718735c1
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Aug 31 22:08:19 2010 +0200

    Using allow-hotplug instead of auto in automatically created /etc/network/interfaces file.

diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking
index 871d8c0..f023729 100755
--- a/scripts/live-bottom/23networking
+++ b/scripts/live-bottom/23networking
@@ -61,7 +61,7 @@ then
 		ifgateway="$(echo ${ifline} | cut -f4 -d ',')"
 
 cat >> "${IFFILE}" << EOF
-auto ${ifname}
+allow-hotplug ${ifname}
 iface ${ifname} inet static
     address ${ifaddress}
     netmask ${ifnetmask}
@@ -90,7 +90,7 @@ else
 			i="$(basename ${interface})"
 
 cat >> "${IFFILE}" << EOF
-auto ${i}
+allow-hotplug ${i}
 iface ${i} inet ${method}
 
 EOF
@@ -138,7 +138,7 @@ fi
 #		grep -q "iface ${i}" ${IFFILE} && continue
 #
 #cat >> "${IFFILE}" << EOF
-#auto ${i}
+#allow-hotplug ${i}
 #iface ${i} inet dhcp
 #
 #EOF

-- 
live-boot



More information about the debian-live-changes mailing list