add watchdog start patch from #1967
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Jul 2007 02:51:42 +0000 (02:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 23 Jul 2007 02:51:42 +0000 (02:51 +0000)
SVN-Revision: 8117

package/hotplug2/files/hotplug2.rules

index 4eb762f..11faf7b 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
+}