base-files: process platform hotplug calls in the early launch of hotplug2 to avoid...
[openwrt/svn-archive/archive.git] / package / hotplug2 / files / hotplug2.rules
index ed9bd11131402bed61f19615ed1eae4ffb3cea83..246cc3ab445b856e52e3fb5a16ec992e34a826a8 100644 (file)
@@ -1,10 +1,10 @@
 $include /etc/hotplug2-common.rules
 
-SUBSYSTEM ~~ (net|button|usb|platform|ieee1394|block|atm) {
-       exec /sbin/hotplug-call %SUBSYSTEM%;
+SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) {
+       exec /sbin/hotplug-call %SUBSYSTEM%
 }
 
-DEVICENAME ~~ (watchdog) {
-       exec /sbin/watchdog -t 5 /dev/watchdog;
-       next
+DEVICENAME == watchdog {
+       exec /sbin/watchdog -t 5 /dev/watchdog
+       next-event
 }