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

SVN-Revision: 8864
This commit is contained in:
Felix Fietkau 2007-09-20 10:19:24 +00:00
parent bbde4161d5
commit ca32501abe

View file

@ -41,7 +41,7 @@ start() {
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
[ "$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
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do