add watchdog start patch from #1967
[openwrt-10.03/.git] / package / hotplug2 / files / hotplug2.rules
index 4eb762fb011aadaf681a9e75e8450b288ac23aaf..11faf7b94f50d138f641eff69d432af6154d0044 100644 (file)
@@ -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
+}