summaryrefslogtreecommitdiff
path: root/package/hotplug2
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-23 02:51:42 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-23 02:51:42 +0000
commit733afec119e8534adcb40aa407636e196084d7e4 (patch)
tree8105dd4f71dc4c94b044e5c134a788ceaee60769 /package/hotplug2
parentb8e8a507ad892c47765d86fa80125058d7b3233c (diff)
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')
-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
+}