[hotplug2] add hotplug2 v1.0

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Hamish Guthrie
2009-05-28 13:21:58 +00:00
parent 6bb5dc043e
commit 0cbd8a942f
2 changed files with 60 additions and 0 deletions

View File

@@ -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
}