2
0
forked from Ivasoft/openwrt

Limit the number of hotplug childrens

SVN-Revision: 6804
This commit is contained in:
Florian Fainelli
2007-04-01 18:30:32 +00:00
parent 6cfc172b61
commit 2266aad2ec
4 changed files with 5 additions and 5 deletions

View File

@@ -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/*