projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d43ba3e
)
Using allow-hotplug instead of auto in automatically created /etc/network/interfaces...
author
Daniel Baumann
<daniel@debian.org>
Tue, 31 Aug 2010 20:08:19 +0000
(22:08 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000
(17:59 +0100)
scripts/live-bottom/23networking
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/23networking
b/scripts/live-bottom/23networking
index
871d8c0
..
f023729
100755
(executable)
--- a/
scripts/live-bottom/23networking
+++ b/
scripts/live-bottom/23networking
@@
-61,7
+61,7
@@
then
ifgateway="$(echo ${ifline} | cut -f4 -d ',')"
cat >> "${IFFILE}" << EOF
ifgateway="$(echo ${ifline} | cut -f4 -d ',')"
cat >> "${IFFILE}" << EOF
-a
uto
${ifname}
+a
llow-hotplug
${ifname}
iface ${ifname} inet static
address ${ifaddress}
netmask ${ifnetmask}
iface ${ifname} inet static
address ${ifaddress}
netmask ${ifnetmask}
@@
-90,7
+90,7
@@
else
i="$(basename ${interface})"
cat >> "${IFFILE}" << EOF
i="$(basename ${interface})"
cat >> "${IFFILE}" << EOF
-a
uto
${i}
+a
llow-hotplug
${i}
iface ${i} inet ${method}
EOF
iface ${i} inet ${method}
EOF
@@
-138,7
+138,7
@@
fi
# grep -q "iface ${i}" ${IFFILE} && continue
#
#cat >> "${IFFILE}" << EOF
# grep -q "iface ${i}" ${IFFILE} && continue
#
#cat >> "${IFFILE}" << EOF
-#a
uto
${i}
+#a
llow-hotplug
${i}
#iface ${i} inet dhcp
#
#EOF
#iface ${i} inet dhcp
#
#EOF