diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/halt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 06721332..099e58dd 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -39,6 +39,16 @@ case "$0" in exit 1 ;; esac +if [ -n "$1" ]; then + case "$1" in + *start) + ;; + *) + echo $"Usage: (halt|reboot) {start}" + exit 1 + ;; + esac +fi # Kill all processes. [ "${BASH+bash}" = bash ] && enable kill |