From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] busybox: fix stop -vs- start typo in rcS script
Date: Tue, 26 Jan 2016 11:16:24 -0800 [thread overview]
Message-ID: <1453835784-14884-1-git-send-email-armccurdy@gmail.com> (raw)
Also make the rcS and rcK comments match the code.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/recipes-core/busybox/files/rcK | 5 +++--
meta/recipes-core/busybox/files/rcS | 7 ++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-core/busybox/files/rcK b/meta/recipes-core/busybox/files/rcK
index 050086e..f8a63e1 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 d18c26b..bb03eb6 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
)
;;
--
1.9.1
next reply other threads:[~2016-01-26 19:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 19:16 Andre McCurdy [this message]
2016-01-27 6:10 ` [PATCH] busybox: fix stop -vs- start typo in rcS script Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453835784-14884-1-git-send-email-armccurdy@gmail.com \
--to=armccurdy@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox