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
commitb38b823afb79a9ddac0697ff167360700d81a73a (patch)
tree5af6c8e0254a0ca89796af9cea377bf1aeec8f86 /package/hotplug2/files
parent5513f6a9e911c043111a6b675e101a9e185218e0 (diff)
downloadupstream-b38b823afb79a9ddac0697ff167360700d81a73a.tar.gz
upstream-b38b823afb79a9ddac0697ff167360700d81a73a.tar.bz2
upstream-b38b823afb79a9ddac0697ff167360700d81a73a.zip
add hotplug2 v1.0
SVN-Revision: 16136
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
+}