summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files/rcS
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files/rcS')
-rw-r--r--meta/recipes-core/busybox/files/rcS7
1 files changed, 4 insertions, 3 deletions
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 ;;