Move hotplug2 v0.9 to hotplug2-old
[openwrt/openwrt.git] / package / hotplug2-old / files / hotplug2.rules
diff --git a/package/hotplug2-old/files/hotplug2.rules b/package/hotplug2-old/files/hotplug2.rules
new file mode 100644 (file)
index 0000000..ed9bd11
--- /dev/null
@@ -0,0 +1,10 @@
+$include /etc/hotplug2-common.rules
+
+SUBSYSTEM ~~ (net|button|usb|platform|ieee1394|block|atm) {
+       exec /sbin/hotplug-call %SUBSYSTEM%;
+}
+
+DEVICENAME ~~ (watchdog) {
+       exec /sbin/watchdog -t 5 /dev/watchdog;
+       next
+}