#!/bin/sh
### BEGIN INIT INFO
# Provides:            reboot
# Required-Start:
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start:
# Default-Stop:        6
# Short-Description:   Reboot the system
# X-Required:          true
### END INIT INFO

. /lib/lsb/init-functions

case "$1" in
   stop)
      echo "Restarting system"
      reboot -d -f -i
      ;;

   *)
      echo "Usage: $0 [start]"
      exit 1
      ;;

esac

exit 0
