From b3d1bf8b9cccfec14d5dcb4ae0f62e66a3220619 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 20 Sep 2007 10:19:24 +0000 Subject: add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8864 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index aff47cfc7..c0b61928c 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 -- cgit v1.2.3