Also make the rcS and rcK comments match the code.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
#!/bin/sh
-# Stop all init scripts in /etc/init.d
-# executing them in reversed numerical order.
+# Stop all init scripts in /etc/rc6.d
+# executing them in numerical order.
#
for i in /etc/rc6.d/K??*; do
+
# Ignore dangling symlinks (if any).
[ ! -f "$i" ] && continue
#!/bin/sh
-# Stop all init scripts in /etc/init.d
-# executing them in reversed numerical order.
+# Start all init scripts in /etc/rcS.d and /etc/rc5.d
+# executing them in numerical order.
#
for i in /etc/rcS.d/S??* /etc/rc5.d/S??* ;do
+
# Ignore dangling symlinks (if any).
[ ! -f "$i" ] && continue
# Source shell script for speed.
(
trap - INT QUIT TSTP
- set stop
+ set start
. $i
)
;;