summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/default
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 18:30:32 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 18:30:32 +0000
commita9d604c520514c74ff00ca19e43337a9ad2e1443 (patch)
tree4046f5cc6ed8e22d8cdc4901068f690a6275270c /target/linux/brcm-2.4/base-files/default
parent2c4b9b9b6974f8ff9fe38c83ef4dcfefd1f08f8c (diff)
Limit the number of hotplug childrens
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files/default')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/etc/preinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/preinit b/target/linux/brcm-2.4/base-files/default/etc/preinit
index 312cac5076..11d9342796 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/preinit
+++ b/target/linux/brcm-2.4/base-files/default/etc/preinit
@@ -36,7 +36,7 @@ else
mount -t tmpfs tmpfs /dev -o size=512K
mknod /dev/console c 5 1
mkdir /dev/shm
- /sbin/hotplug2 --no-persistent --coldplug
+ /sbin/hotplug2 --no-persistent --coldplug --max_children 1
M0=/dev/ptmx
M1=/dev/ptmx
fi