X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2f006aa5e8a74e2dd224f5e9b90d36c79651fd66..e937ecf08ed14a7b0df658c0a9eb8ce5027753c1:/target/default/target_skeleton/etc/init.d/rcS?ds=sidebyside diff --git a/target/default/target_skeleton/etc/init.d/rcS b/target/default/target_skeleton/etc/init.d/rcS index de411534d..9510e941a 100755 --- a/target/default/target_skeleton/etc/init.d/rcS +++ b/target/default/target_skeleton/etc/init.d/rcS @@ -1,6 +1,5 @@ #!/bin/sh - # Start all init scripts in /etc/init.d # executing them in numerical order. # @@ -10,18 +9,17 @@ for i in /etc/init.d/S??* ;do [ ! -f "$i" ] && continue case "$i" in - *.sh) - # Source shell script for speed. - ( - trap - INT QUIT TSTP - set start - . $i - ) - ;; - *) - # No sh extension, so fork subprocess. - $i start - ;; + *.sh) + # Source shell script for speed. + ( + trap - INT QUIT TSTP + set start + . $i + ) + ;; + *) + # No sh extension, so fork subprocess. + $i start + ;; esac done -