All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] busybox: fix stop -vs- start typo in rcS script
@ 2016-01-26 19:16 Andre McCurdy
  2016-01-27  6:10 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Andre McCurdy @ 2016-01-26 19:16 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] busybox: fix stop -vs- start typo in rcS script
  2016-01-26 19:16 [PATCH] busybox: fix stop -vs- start typo in rcS script Andre McCurdy
@ 2016-01-27  6:10 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-01-27  6:10 UTC (permalink / raw)
  To: Andre McCurdy; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]


> On Jan 26, 2016, at 2:16 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> 
> Also make the rcS and rcK comments match the code.
> 

thanks looks ok.

> 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
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-27  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26 19:16 [PATCH] busybox: fix stop -vs- start typo in rcS script Andre McCurdy
2016-01-27  6:10 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.