From: Felix Fietkau Date: Thu, 20 Sep 2007 10:19:24 +0000 (+0000) Subject: add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should preven... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=332aace881fdf0ed8ff39ee25f90ca1dfae4d97c;ds=sidebyside add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr. SVN-Revision: 8864 --- diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index aff47cfc74..c0b61928c1 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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