aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/default/etc/preinit
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-01 18:30:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-01 18:30:32 +0000
commit2266aad2ec3cadc91d8e8d3081b486695bcc8bf7 (patch)
tree1df06d59fce161a157159f5cc1d874a5a58af031 /target/linux/brcm-2.4/base-files/default/etc/preinit
parent6cfc172b6108950522ab21d686ce09e04006486c (diff)
downloadupstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.gz
upstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.bz2
upstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.zip
Limit the number of hotplug childrens
SVN-Revision: 6804
Diffstat (limited to 'target/linux/brcm-2.4/base-files/default/etc/preinit')
-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