aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2/files
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2009-05-28 13:21:58 +0000
committerHamish Guthrie <hcg@openwrt.org>2009-05-28 13:21:58 +0000
commit0cbd8a942fd5664553870d2db94d54ea92cc3a1f (patch)
treecb9591bce19d7278583a23e12129f0e81932f2d4 /package/hotplug2/files
parent6bb5dc043ef785d737d807b39de3c39fe01c9b7f (diff)
downloadupstream-0cbd8a942fd5664553870d2db94d54ea92cc3a1f.tar.gz
upstream-0cbd8a942fd5664553870d2db94d54ea92cc3a1f.tar.bz2
upstream-0cbd8a942fd5664553870d2db94d54ea92cc3a1f.zip
[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 0000000000..8ad81033a7
--- /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
+}