summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-26 11:16:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 22:31:11 +0000
commit8b033e6faa0a6927f1e1ee2484381eff8231a549 (patch)
treee9b0020b4ff6d3f35015782548875fd571d57193 /meta/recipes-core/busybox
parentc03cdb8a9f1929d9ef03c55b8b18d60ff69db447 (diff)
downloadopenembedded-core-8b033e6faa0a6927f1e1ee2484381eff8231a549.tar.gz
busybox: fix stop -vs- start typo in rcS script
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>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/files/rcK5
-rw-r--r--meta/recipes-core/busybox/files/rcS7
2 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-core/busybox/files/rcK b/meta/recipes-core/busybox/files/rcK
index 050086ecd8..f8a63e1325 100644
--- a/meta/recipes-core/busybox/files/rcK
+++ b/meta/recipes-core/busybox/files/rcK
@@ -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
diff --git a/meta/recipes-core/busybox/files/rcS b/meta/recipes-core/busybox/files/rcS
index d18c26b4c3..bb03eb6088 100644
--- a/meta/recipes-core/busybox/files/rcS
+++ b/meta/recipes-core/busybox/files/rcS
@@ -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
)
;;