prevent zombies from occuring when stdou/stdout are held open
[openwrt.git] / target / default / target_skeleton / etc / init.d / rcS
index d52152c..e6daddc 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 syslogd -C 16
 klogd
-for i in /etc/init.d/S* ;do
-  $i start 2>&1 | logger -s -p 6 -t ''
-done
+${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 '' &
This page took 0.022761 seconds and 4 git commands to generate.