X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/66b7ecf8e0e324c1bd76eb873e128a98a68dd539..6604aa7c980659f28bf6c184cad51029baabca35:/package/base-files/files/etc/init.d/watchdog?ds=sidebyside diff --git a/package/base-files/files/etc/init.d/watchdog b/package/base-files/files/etc/init.d/watchdog index 0821c8f47..b9286f7de 100755 --- a/package/base-files/files/etc/init.d/watchdog +++ b/package/base-files/files/etc/init.d/watchdog @@ -3,5 +3,5 @@ START=97 start() { - [ -f /dev/watchtog ] && watchdog -t 5 /dev/watchdog + [ -c /dev/watchtog ] && watchdog -t 5 /dev/watchdog }