From: Matteo Croce <rootkit85@yahoo.it>
Date: Thu, 3 Apr 2008 20:59:18 +0000 (+0000)
Subject: fix typo in watchdog init script
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cd4447d2693a551ea60bf52a62c3dd8bd5bacb38;p=openwrt%2Fstaging%2Fdangole.git

fix typo in watchdog init script

SVN-Revision: 10726
---

diff --git a/package/base-files/files/etc/init.d/watchdog b/package/base-files/files/etc/init.d/watchdog
index 0821c8f475..b9286f7de4 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
 }