summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/init.d/rcS
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/etc/init.d/rcS')
-rwxr-xr-xpackage/base-files/default/etc/init.d/rcS8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/default/etc/init.d/rcS b/package/base-files/default/etc/init.d/rcS
new file mode 100755
index 000000000..e6daddc59
--- /dev/null
+++ b/package/base-files/default/etc/init.d/rcS
@@ -0,0 +1,8 @@
+#!/bin/sh
+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 '' &