]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: fix stop -vs- start typo in rcS script
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 26 Jan 2016 19:16:24 +0000 (11:16 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jan 2016 22:31:11 +0000 (22:31 +0000)
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>
meta/recipes-core/busybox/files/rcK
meta/recipes-core/busybox/files/rcS

index 050086ecd86ee41f6b736847935809adfa1a6c7d..f8a63e1325ae38fcc26eee7666081ed791b027ba 100644 (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
 
index d18c26b4c3676afb0efd02c66c343e0b82fb4111..bb03eb6088d8ac27e0a5bec23012a71c21f14329 100644 (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
            )
            ;;