summaryrefslogtreecommitdiff
path: root/package/hotplug2
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
parentda3f65f28c40165298b29ce3abce753889b6a41c (diff)
downloadmtk-20170518-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.zip
mtk-20170518-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.tar.gz
mtk-20170518-50d052a1ebd6f81ce5efd421b3f9a1685a7a148c.tar.bz2
add watchdog start patch from #1967
SVN-Revision: 8117
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 4eb762f..11faf7b 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
+}