home *** CD-ROM | disk | FTP | other *** search
- # rcS - runlevel compatibility
- #
- # This task runs the old sysv-rc startup scripts.
-
- start on startup
-
- stop on runlevel
-
- # Note: there can be no previous runlevel here, if we have one it's bad
- # information (we enter rc1 not rcS for maintenance).
- console output
- script
- runlevel --set S >/dev/null || true
-
- PREVLEVEL=N
- RUNLEVEL=S
- export PREVLEVEL RUNLEVEL
-
- exec /etc/init.d/rcS
- end script
-