7.1
Rev | Line | |
---|
[1c48007] | 1 | #!/bin/sh
|
---|
| 2 | # Begin $RC_BASE/init.d/halt
|
---|
| 3 |
|
---|
| 4 | ### BEGIN INIT INFO
|
---|
| 5 | # Provides: halt
|
---|
| 6 | # Required-Start:
|
---|
| 7 | # Should-Start:
|
---|
[614a14e] | 8 | # Required-Stop:
|
---|
[1c48007] | 9 | # Should-Stop:
|
---|
| 10 | # Default-Start: 0
|
---|
| 11 | # Default-Stop:
|
---|
| 12 | # Short-Description: Halts the system.
|
---|
| 13 | # Description: Halts the System.
|
---|
| 14 | # X-LFS-Provided-By: LFS
|
---|
| 15 | ### END INIT INFO
|
---|
| 16 |
|
---|
| 17 | . /lib/lsb/init-functions
|
---|
| 18 |
|
---|
| 19 | case "${1}" in
|
---|
| 20 | stop)
|
---|
| 21 | log_success_msg "Halting System..."
|
---|
| 22 | halt -d -f -i -p
|
---|
| 23 | ;;
|
---|
| 24 | *)
|
---|
| 25 | echo "Usage: {stop}"
|
---|
| 26 | exit 1
|
---|
| 27 | ;;
|
---|
| 28 | esac
|
---|
| 29 |
|
---|
[f3f65e73] | 30 | # End $RC_BASE/init.d/halt
|
---|
Note:
See
TracBrowser
for help on using the repository browser.