[ar7] let 802.1q tagged frames go in and out from cpmac (#6730)
[openwrt.git] / package / base-files / files / etc / init.d / watchdog
index b9286f7..861a1f9 100755 (executable)
@@ -3,5 +3,6 @@
 
 START=97
 start() {
 
 START=97
 start() {
-        [ -c /dev/watchtog ] && watchdog -t 5 /dev/watchdog
+        [ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
+               watchdog -t 5 /dev/watchdog
 }
 }
This page took 0.026515 seconds and 4 git commands to generate.