1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

busybox: fix stop -vs- start typo in rcS script

Also make the rcS and rcK comments match the code.

(From OE-Core rev: 8b033e6faa0a6927f1e1ee2484381eff8231a549)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy
2016-01-26 11:16:24 -08:00
committed by Richard Purdie
parent 9f4b088e2f
commit d11cc29758
2 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
#!/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
+4 -3
View File
@@ -1,10 +1,11 @@
#!/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
@@ -13,7 +14,7 @@ for i in /etc/rcS.d/S??* /etc/rc5.d/S??* ;do
# Source shell script for speed.
(
trap - INT QUIT TSTP
set stop
set start
. $i
)
;;