X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ab26d6ba206ec2ab1d889b6df9608d6ce736b892..dc472b5e32a361553945b7460a72881a3360f570:/openwrt/target/default/target_skeleton/etc/init.d/rcS?ds=inline diff --git a/openwrt/target/default/target_skeleton/etc/init.d/rcS b/openwrt/target/default/target_skeleton/etc/init.d/rcS index 262907ae4..e6daddc59 100755 --- a/openwrt/target/default/target_skeleton/etc/init.d/rcS +++ b/openwrt/target/default/target_skeleton/etc/init.d/rcS @@ -1,7 +1,8 @@ #!/bin/sh -# Start all init scripts in /etc/init.d -# executing them in numerical order. -# -for i in /etc/init.d/S* ;do - [ -f "$i" ] && $i start -done +syslogd -C 16 +klogd +${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 '' &