X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1caf373d39fc1a7c9468ae57763762f29450752f..443820e37b48228ba986329f86ead6ce902a611b:/package/hotplug2/files/hotplug2.rules diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index 980065898..246cc3ab4 100644 --- a/package/hotplug2/files/hotplug2.rules +++ b/package/hotplug2/files/hotplug2.rules @@ -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 }