make morse LED trigger available as a package, and fix it to compile with 2.6.23
[openwrt.git] / package / hotplug2 / files / hotplug2.rules
index 4eb762fb011aadaf681a9e75e8450b288ac23aaf..8429857824e145869b690ed043c4dec4263caa1a 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 5 /dev/watchdog;
+       next
+}