blob: e44cbb153e0160305890bcfbfdcc6f702d0b0fa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh /etc/rc.common
# Copyright (C) 2008-2010 OpenWrt.org
START=97
start() {
[ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
watchdog -t 5 /dev/watchdog
}
stop() {
killall -q watchdog
[ -c /dev/watchdog ] && echo "V" > /dev/watchdog
}
|