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:32:00 +0000
commitd11cc29758a07b65a773765208ab3b95dcbe4bf4 (patch)
tree99c2f32e463000d354074b11412c97784656c1d7 /meta/recipes-core/busybox
parent9f4b088e2fc819ac1a13d41895e21fe707ba6f53 (diff)
downloadpoky-d11cc29758a07b65a773765208ab3b95dcbe4bf4.tar.gz
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>
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Stop all init scripts in /etc/init.d 3# Stop all init scripts in /etc/rc6.d
4# executing them in reversed numerical order. 4# executing them in numerical order.
5# 5#
6for i in /etc/rc6.d/K??*; do 6for i in /etc/rc6.d/K??*; do
7
7 # Ignore dangling symlinks (if any). 8 # Ignore dangling symlinks (if any).
8 [ ! -f "$i" ] && continue 9 [ ! -f "$i" ] && continue
9 10
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Stop all init scripts in /etc/init.d 3# Start all init scripts in /etc/rcS.d and /etc/rc5.d
4# executing them in reversed numerical order. 4# executing them in numerical order.
5# 5#
6 6
7for i in /etc/rcS.d/S??* /etc/rc5.d/S??* ;do 7for i in /etc/rcS.d/S??* /etc/rc5.d/S??* ;do
8
8 # Ignore dangling symlinks (if any). 9 # Ignore dangling symlinks (if any).
9 [ ! -f "$i" ] && continue 10 [ ! -f "$i" ] && continue
10 11
@@ -13,7 +14,7 @@ for i in /etc/rcS.d/S??* /etc/rc5.d/S??* ;do
13 # Source shell script for speed. 14 # Source shell script for speed.
14 ( 15 (
15 trap - INT QUIT TSTP 16 trap - INT QUIT TSTP
16 set stop 17 set start
17 . $i 18 . $i
18 ) 19 )
19 ;; 20 ;;