mirror of
https://git.yoctoproject.org/poky
synced 2026-03-12 02:09:39 +01:00
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>
437 B
437 B
#!/bin/sh
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
case "$i" in
*.sh)
# Source shell script for speed.
(
trap - INT QUIT TSTP
set start
. $i
)
;;
*)
# No sh extension, so fork subprocess.
$i start
;;
esac
done