openwrtv4/package/base-files/files/etc/init.d/watchdog
2009-10-20 17:07:08 +00:00

8 lines
176 B
Bash
Executable file

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=97
start() {
[ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
watchdog -t 5 /dev/watchdog
}