reboot 134 B

123456789101112
  1. #!/bin/sh
  2. [ "${ACTION}" = "released" ] || exit 0
  3. if [ "$SEEN" -ge 5 ]
  4. then
  5. echo "REBOOT" > /dev/console
  6. sync
  7. reboot
  8. fi
  9. return 0