3 # rcS Call all S??* scripts in /etc/rcS.d in
4 # numerical/alphabetical order.
6 # Version: @(#)/etc/init.d/rcS 2.76 19-Apr-1999 miquels@cistron.nl
9 PATH=/sbin:/bin:/usr/sbin:/usr/bin
13 export PATH runlevel prevlevel
16 # See if system needs to be setup. This is ONLY meant to
17 # be used for the initial setup after a fresh installation!
19 if [ -x /sbin/unconfigured.sh ]
31 # Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
33 trap ":" INT QUIT TSTP
36 # Call all parts in order.
38 for i in /etc/rcS.d/S??*
40 # Ignore dangling symlinks for now.
41 [ ! -f "$i" ] && continue
44 [ "$VERBOSE" = very ] && echo "INIT: Running $i..."
48 # Source shell script for speed.
56 # No sh extension, so fork subprocess.
62 # Report status based on result code
68 # For compatibility, run the files in /etc/rc.boot too.
70 [ -d /etc/rc.boot ] && run-parts /etc/rc.boot
73 # Finish setup if needed. The comment above about
74 # /sbin/unconfigured.sh applies here as well!
76 if [ -x /sbin/setup.sh ]