X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ab26d6ba206ec2ab1d889b6df9608d6ce736b892..e5e255dd40f1e2ea80b5c4612b054f11f56f7dbf:/openwrt/target/default/target_skeleton/etc/init.d/rcS 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 '' &