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
commit50d052a1ebd6f81ce5efd421b3f9a1685a7a148c (patch)
tree19b1fa86510f752c54996b7891b3ecf05f0a816c /package/hotplug2/files
parentda3f65f28c40165298b29ce3abce753889b6a41c (diff)
downloadupstream-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.tar.gz
upstream-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.tar.bz2
upstream-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.zip
add watchdog start patch from #1967
SVN-Revision: 8117
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
+}