2008-04-03 14:36:10 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2010-05-03 09:05:35 +00:00
|
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
2008-04-03 14:36:10 +00:00
|
|
|
|
|
|
|
START=97
|
|
|
|
start() {
|
2009-10-20 17:07:08 +00:00
|
|
|
[ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
|
|
|
|
watchdog -t 5 /dev/watchdog
|
2008-04-03 14:36:10 +00:00
|
|
|
}
|
2010-05-03 09:05:35 +00:00
|
|
|
|
|
|
|
stop() {
|
|
|
|
killall -q watchdog
|
|
|
|
}
|