summaryrefslogtreecommitdiffstats
path: root/init.d/rcL
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/rcL')
-rwxr-xr-xinit.d/rcL16
1 files changed, 16 insertions, 0 deletions
diff --git a/init.d/rcL b/init.d/rcL
new file mode 100755
index 0000000..7c6b3f7
--- /dev/null
+++ b/init.d/rcL
@@ -0,0 +1,16 @@
+#!/bin/busybox sh
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
+
+for i in `seq 0 9` ; do
+ # first stopp all the K?? scripts in this level
+ for j in /etc/rcL.d/K$i[0-9]* ; do
+ [ -f $j ] && $j stop
+ done
+ # start all S?? scripts in this level
+ for j in /etc/rcL.d/S$i[0-9]* ; do
+ [ -f $j ] && $j start
+ done
+done
+exit 0
+