aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-20 10:19:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-20 10:19:24 +0000
commit3842e188da35c319e481dc9fad85d4e3fa7cea53 (patch)
treef8a0a80daa69d8e9d1fedd8e139e04319f40c17f
parentec3a8405cc2cc84fe844885bc10187588e95cf33 (diff)
downloadupstream-3842e188da35c319e481dc9fad85d4e3fa7cea53.tar.gz
upstream-3842e188da35c319e481dc9fad85d4e3fa7cea53.tar.bz2
upstream-3842e188da35c319e481dc9fad85d4e3fa7cea53.zip
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
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
1 files changed, 1 insertions, 1 deletions
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