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 9800658983ad8b4aadaac313908b58fe26e0c10c..246cc3ab445b856e52e3fb5a16ec992e34a826a8 100644 (file)
@@ -1,10 +1,10 @@
 $include /etc/hotplug2-common.rules
 
-SUBSYSTEM ~~ (net|input|button|usb|platform|ieee1394|block|atm) {
+SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) {
        exec /sbin/hotplug-call %SUBSYSTEM%
 }
 
-DEVICENAME ~~ (watchdog) {
+DEVICENAME == watchdog {
        exec /sbin/watchdog -t 5 /dev/watchdog
-       next
+       next-event
 }