openwrt/package/base-files/files/etc/init.d/watchdog

8 lines
140 B
Bash
Executable File

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