run led init after /etc/init.d/done to keep the configured led settings active after...
[openwrt.git] / package / base-files / files / etc / init.d / watchdog
index 0821c8f..861a1f9 100755 (executable)
@@ -3,5 +3,6 @@
 
 START=97
 start() {
-        [ -f /dev/watchtog ] && watchdog -t 5 /dev/watchdog
+        [ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
+               watchdog -t 5 /dev/watchdog
 }
This page took 0.023096 seconds and 4 git commands to generate.