aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/S15watchdog
blob: 7f1110c46ecf4de7aa5eac3b4e2afcc5773415b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# Start watchdog
#

case "$1" in
 start)
	echo "Starting watchdog..."
	watchdog -t PERIOD /dev/watchdog
	;;
  stop)
	;;
  restart|reload)
	;;
  *)
	echo $"Usage: $0 {start|stop|restart}"
	exit 1
esac

exit $?