board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / initscripts / init.d / rcK
blob59e9c54ff913a367d2e1b200f8e7b4eaae9da64d
1 #!/bin/sh
4 # Stop all init scripts in /etc/init.d
5 # executing them in reversed numerical order.
7 for i in $(ls -r /etc/init.d/S??*) ;do
9 # Ignore dangling symlinks (if any).
10 [ ! -f "$i" ] && continue
12 case "$i" in
13 *.sh)
14 # Source shell script for speed.
16 trap - INT QUIT TSTP
17 set stop
18 . $i
22 # No sh extension, so fork subprocess.
23 $i stop
25 esac
26 done