X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a702c2ea6f65b41268ccce95f536f6c477234300..7b28f495343b4004ee05615c16c71b59dc70fe0c:/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 d52152c31..e6daddc59 100755 --- 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 '' &