summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-03 20:59:18 +0000
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-03 20:59:18 +0000
commit6604aa7c980659f28bf6c184cad51029baabca35 (patch)
tree5015650592dc73e7266f1112fd1a4a205015243d
parent66b7ecf8e0e324c1bd76eb873e128a98a68dd539 (diff)
fix typo in watchdog init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10726 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/base-files/files/etc/init.d/watchdog2
1 files changed, 1 insertions, 1 deletions
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
}