aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-23 02:51:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-23 02:51:42 +0000
commite1ec900c8ea859c65490bcd06c3931a1ffcd4c5a (patch)
tree8105dd4f71dc4c94b044e5c134a788ceaee60769 /package/hotplug2/files
parent60364baa02b04485d7198ac19bd25490efc48b84 (diff)
downloadupstream-e1ec900c8ea859c65490bcd06c3931a1ffcd4c5a.tar.gz
upstream-e1ec900c8ea859c65490bcd06c3931a1ffcd4c5a.tar.bz2
upstream-e1ec900c8ea859c65490bcd06c3931a1ffcd4c5a.zip
add watchdog start patch from #1967
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8117 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hotplug2/files')
-rw-r--r--package/hotplug2/files/hotplug2.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
index 4eb762fb01..11faf7b94f 100644
--- a/package/hotplug2/files/hotplug2.rules
+++ b/package/hotplug2/files/hotplug2.rules
@@ -3,3 +3,8 @@ $include /etc/hotplug2-init.rules
SUBSYSTEM ~~ (net|button|usb) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}
+
+DEVICENAME ~~ (watchdog) {
+ exec /sbin/watchdog -t 10 /dev/watchdog;
+ next
+}