diff options
author | Daniel Baumann <daniel@debian.org> | 2010-08-31 22:08:19 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
commit | 6df6d2078987fef6f1ecf74fcfc3e713f7df2a17 (patch) | |
tree | 783cfeb3bc1252012bbaa774944b3c8890d232e7 | |
parent | d43ba3e83f32e24cd4f047b6cc37bc4856454a5f (diff) | |
download | live-boot-6df6d2078987fef6f1ecf74fcfc3e713f7df2a17.tar.gz live-boot-6df6d2078987fef6f1ecf74fcfc3e713f7df2a17.zip |
Using allow-hotplug instead of auto in automatically created /etc/network/interfaces file.
-rwxr-xr-x | scripts/live-bottom/23networking | 6 |
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 |