add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.

SVN-Revision: 8864
owl
Felix Fietkau 2007-09-20 10:19:24 +00:00
parent bbde4161d5
commit ca32501abe
1 changed files with 1 additions and 1 deletions

View File

@ -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