From a9d604c520514c74ff00ca19e43337a9ad2e1443 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 1 Apr 2007 18:30:32 +0000 Subject: Limit the number of hotplug childrens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files/files/etc/init.d') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index c644b2fec..0d7e11ced 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/* -- cgit v1.2.3