summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/boot
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
commit2266aad2ec3cadc91d8e8d3081b486695bcc8bf7 (patch)
tree1df06d59fce161a157159f5cc1d874a5a58af031 /package/base-files/files/etc/init.d/boot
parent6cfc172b6108950522ab21d686ce09e04006486c (diff)
downloadmtk-20170518-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.zip
mtk-20170518-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.gz
mtk-20170518-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.bz2
Limit the number of hotplug childrens
SVN-Revision: 6804
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-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 c644b2f..0d7e11c 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/*