uClibc: fix ubicom32 compile error with 0.9.32
[openwrt.git] / target / linux / omap24xx / base-files / etc / init.d / watchdog
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008-2010 OpenWrt.org
3
4 START=97
5 start() {
6 if ! [ -c /dev/watchdog -a -x /sbin/watchdog ]; then
7 echo "WARNING: Watchdog not available. System will reboot soon!"
8 else
9 /sbin/watchdog -T 63 -t 53 /dev/watchdog
10 fi
11 }
12
13 stop() {
14 killall -q watchdog
15 }
This page took 0.045134 seconds and 5 git commands to generate.