aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Croce <matteo@openwrt.org>2008-04-03 20:59:18 +0000
committerMatteo Croce <matteo@openwrt.org>2008-04-03 20:59:18 +0000
commit359d4daceb29c27991ca866268109dd9e640e693 (patch)
tree5015650592dc73e7266f1112fd1a4a205015243d
parent6766d68c8526d03c8080f54a1348a2d0948f38c4 (diff)
downloadupstream-359d4daceb29c27991ca866268109dd9e640e693.tar.gz
upstream-359d4daceb29c27991ca866268109dd9e640e693.tar.bz2
upstream-359d4daceb29c27991ca866268109dd9e640e693.zip
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
}