summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/watchdog
blob: 861a1f9eb04d412c09bf376e83503183aa9fe846 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org

START=97
start() {
        [ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
        	watchdog -t 5 /dev/watchdog
}