summaryrefslogtreecommitdiffstats
path: root/package/hotplug2/files
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 13:21:58 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 13:21:58 +0000
commitfd838e9faf163d384de49efde4a2358e488dcd67 (patch)
treecb9591bce19d7278583a23e12129f0e81932f2d4 /package/hotplug2/files
parente78f0c24154cd3b331782477cab72a828521f6ae (diff)
[hotplug2] add hotplug2 v1.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hotplug2/files')
-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 000000000..8ad81033a
--- /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
+}