Start the watchdog daemon if a harware watchdog is present
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / init.d / watchdog
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008 OpenWrt.org
3
4 START=97
5 start() {
6 [ -f /dev/watchtog ] && watchdog -t 5 /dev/watchdog
7 }