d1ad1a175292bda8d9e7b351eda5169965bdea7d
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008-2010 OpenWrt.org
7 [ -c /dev
/watchdog
-a -x /sbin
/watchdog
] ||
{
8 echo "WARNING: Watchdog not available. System will reboot soon!"
11 /sbin
/watchdog
-T 60 -t 50 /dev
/watchdog
12 [ -x /usr
/bin
/schedtool
] && /usr
/bin
/schedtool
-R -p 60 -n -20 $
(pidof watchdog
)