$include /etc/hotplug2-common.rules
-SUBSYSTEM ~~ (net|button|usb) {
- exec /sbin/hotplug-call %SUBSYSTEM%;
+SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^platform$|^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
}