diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-01 18:30:32 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-01 18:30:32 +0000 |
commit | 2266aad2ec3cadc91d8e8d3081b486695bcc8bf7 (patch) | |
tree | 1df06d59fce161a157159f5cc1d874a5a58af031 /target/linux | |
parent | 6cfc172b6108950522ab21d686ce09e04006486c (diff) | |
download | upstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.gz upstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.tar.bz2 upstream-2266aad2ec3cadc91d8e8d3081b486695bcc8bf7.zip |
Limit the number of hotplug childrens
SVN-Revision: 6804
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/default/etc/preinit | 2 | ||||
-rwxr-xr-x | target/linux/generic-2.6/files/init | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/target/linux/generic-2.6/files/init b/target/linux/generic-2.6/files/init index af397d9abb..9f595c0f95 100755 --- a/target/linux/generic-2.6/files/init +++ b/target/linux/generic-2.6/files/init @@ -12,7 +12,7 @@ else mknod /dev/console c 5 1 mkdir /dev/pts mkdir /dev/shm - /sbin/hotplug2 --no-persistent --coldplug + /sbin/hotplug2 --no-persistent --coldplug --max_children 1 fi mount none /dev/pts -t devpts |