add watchdog start patch from #1967
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 02:51:42 +0000 (02:51 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 02:51:42 +0000 (02:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8117 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
+}