#!/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 :