projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent zombies from occuring when stdou/stdout are held open
[openwrt.git]
/
target
/
default
/
target_skeleton
/
etc
/
init.d
/
rcS
diff --git
a/target/default/target_skeleton/etc/init.d/rcS
b/target/default/target_skeleton/etc/init.d/rcS
index
d52152c
..
e6daddc
100755
(executable)
--- a/
target/default/target_skeleton/etc/init.d/rcS
+++ b/
target/default/target_skeleton/etc/init.d/rcS
@@
-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.