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.lede-project.org./?a=commitdiff_plain;h=ca32501abe739fcb00bab62a48fe02a0dabba8a5;p=openwrt%2Fstaging%2Fjow.git 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