mirror of https://github.com/hak5/openwrt-owl.git
add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.
SVN-Revision: 8864owl
parent
bbde4161d5
commit
ca32501abe
|
@ -41,7 +41,7 @@ start() {
|
||||||
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
|
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
|
||||||
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
|
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
|
||||||
|
|
||||||
/sbin/hotplug2 --override --persistent --max-children 1 &
|
/sbin/hotplug2 --override --persistent --max-children 1 --no-coldplug &
|
||||||
|
|
||||||
# the coldplugging of network interfaces needs to happen later, so we do it manually here
|
# the coldplugging of network interfaces needs to happen later, so we do it manually here
|
||||||
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
|
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
|
||||||
|
|
Loading…
Reference in New Issue