mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 15:53:29 +08:00
21 lines
221 B
Plaintext
21 lines
221 B
Plaintext
|
#!/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 $?
|