summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-08-31 22:08:19 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:27 +0100
commitd0a1dcc79cf6bb4412b0f18b2e6f77e17e62c949 (patch)
treebc32a8f90392f6997677f27f92815a338fa063d0 /scripts/live-bottom
parent3cd303a7d566b34e5baaa0d80fb809cfbf8a98bd (diff)
downloadlive-boot-d0a1dcc79cf6bb4412b0f18b2e6f77e17e62c949.tar.gz
live-boot-d0a1dcc79cf6bb4412b0f18b2e6f77e17e62c949.zip
Using allow-hotplug instead of auto in automatically created /etc/network/interfaces file.
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/23networking6
1 files changed, 3 insertions, 3 deletions
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