2008-04-03 14:36:10 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-07 22:58:34 +00:00
|
|
|
# Copyright (C) 2008-2011 OpenWrt.org
|
2008-04-03 14:36:10 +00:00
|
|
|
|
|
|
|
START=97
|
2011-11-07 22:58:34 +00:00
|
|
|
|
2008-04-03 14:36:10 +00:00
|
|
|
start() {
|
2011-11-07 22:58:34 +00:00
|
|
|
[ -c /dev/watchdog ] || return 1
|
|
|
|
[ -x /sbin/watchdog ] || return 1
|
|
|
|
service_start /sbin/watchdog -t 5 /dev/watchdog
|
2008-04-03 14:36:10 +00:00
|
|
|
}
|
2010-05-03 09:05:35 +00:00
|
|
|
stop() {
|
2011-11-07 22:58:34 +00:00
|
|
|
service_stop /sbin/watchdog
|
2010-05-03 09:05:35 +00:00
|
|
|
}
|