mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Limit the number of hotplug childrens
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user