summaryrefslogtreecommitdiff
path: root/package/hotplug2-old/files/hotplug2.rules
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 13:20:54 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 13:20:54 +0000
commite78f0c24154cd3b331782477cab72a828521f6ae (patch)
tree9f2daf93fe9158aef0329b31283ce5ab4874e61f /package/hotplug2-old/files/hotplug2.rules
parent4fdfae5e2367e59c7199ffa3db98acdd6b592a3d (diff)
[hotplug2] Move hotplug2 v0.9 to hotplug2-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hotplug2-old/files/hotplug2.rules')
-rw-r--r--package/hotplug2-old/files/hotplug2.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/hotplug2-old/files/hotplug2.rules b/package/hotplug2-old/files/hotplug2.rules
new file mode 100644
index 0000000000..ed9bd11131
--- /dev/null
+++ b/package/hotplug2-old/files/hotplug2.rules
@@ -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
+}