summaryrefslogtreecommitdiff
path: root/package/hotplug2/files/hotplug2.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/hotplug2/files/hotplug2.rules')
-rw-r--r--package/hotplug2/files/hotplug2.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
new file mode 100644
index 0000000..8ad8103
--- /dev/null
+++ b/package/hotplug2/files/hotplug2.rules
@@ -0,0 +1,10 @@
+$include /etc/hotplug2-common.rules
+
+SUBSYSTEM ~~ (net|button|usb|platform|ieee1394|block) {
+ exec /sbin/hotplug-call %SUBSYSTEM%
+}
+
+DEVICENAME ~~ (watchdog) {
+ exec /sbin/watchdog -t 5 /dev/watchdog
+ next
+}