summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-06-01 08:28:44 +0000
committerMike Baker <mbm@openwrt.org>2005-06-01 08:28:44 +0000
commitd23707baef27a5cd8d9bf15b3ecf59403f38d585 (patch)
treed5944753c7ef5f36b64a4c3fc924cff4b9c572d2
parenta18365fcbbfa810114ec4de6ecf72a5e19de60fa (diff)
downloadmtk-20170518-d23707baef27a5cd8d9bf15b3ecf59403f38d585.zip
mtk-20170518-d23707baef27a5cd8d9bf15b3ecf59403f38d585.tar.gz
mtk-20170518-d23707baef27a5cd8d9bf15b3ecf59403f38d585.tar.bz2
prevent zombies from occuring when stdou/stdout are held open
SVN-Revision: 1125
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/init.d/rcS2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/init.d/rcS b/openwrt/target/default/target_skeleton/etc/init.d/rcS
index 1242f56..e6daddc 100755
--- a/openwrt/target/default/target_skeleton/etc/init.d/rcS
+++ b/openwrt/target/default/target_skeleton/etc/init.d/rcS
@@ -5,4 +5,4 @@ ${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit}
for i in /etc/init.d/S*; do
$i start 2>&1
-done | logger -s -p 6 -t ''
+done | logger -s -p 6 -t '' &