initscripts/etc/rc.d/init.d/halt

22 lines
320 B
Plaintext
Raw Normal View History

2011-04-26 12:26:24 +02:00
#!/bin/sh
# halt - System halt
PATH=/sbin:/usr/sbin:/bin:/usr/bin
case "$1" in
start)
# No-op
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
halt -d -f -i -p
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac