Limit the number of hotplug childrens
[openwrt-10.03/.git] / package / base-files / files / etc / init.d / boot
index c644b2fec2d9ccf0c817fffbcc0eea84e65df08c..0d7e11ceddb051f27bb7bf5da12cafd3201d204a 100755 (executable)
@@ -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/*