initscripts/etc/rc.d/init.d/reboot
2011-04-26 12:26:24 +02:00

24 lines
326 B
Bash
Executable File

#!/bin/sh
# reboot - System Reboot
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)
reboot -d -f -i
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
: