blob: 2664c61d974e150f2394ffb24d75690d8a19e4aa [file] [log] [blame]
#!/bin/sh
case "$1" in
start)
babysit 60 buttonmon | resetmonitor.sh 2>&1 | logos resetmonitor &
;;
stop)
pkillwait -x resetmonitor
;;
restart)
$0 stop; $0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac