aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-01 18:30:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-01 18:30:32 +0000
commitbcb74911647728328098635374e4acfc6bf479ee (patch)
tree4046f5cc6ed8e22d8cdc4901068f690a6275270c /package/base-files/files/etc
parent19a5c146e402455a0c0c41fd4c14a4185c2f945a (diff)
downloadmaster-187ad058-bcb74911647728328098635374e4acfc6bf479ee.tar.gz
master-187ad058-bcb74911647728328098635374e4acfc6bf479ee.tar.bz2
master-187ad058-bcb74911647728328098635374e4acfc6bf479ee.zip
Limit the number of hotplug childrens
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index c644b2fec2..0d7e11cedd 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -31,8 +31,8 @@ start() {
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
done
-
- /sbin/hotplug2 --persistent &
+
+ /sbin/hotplug2 --persistent --max-children 1 &
echo /sbin/hotplug-call > /proc/sys/kernel/hotplug
load_modules /etc/modules.d/*