X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fhotplug2%2Ffiles%2Fhotplug2.rules;fp=package%2Fhotplug2%2Ffiles%2Fhotplug2.rules;h=a7a4730105f81ad1b8137ac754ea4f4225b6a2ab;hb=824331a5943c0acfbb7b1fc95116c77092660f1e;hp=9800658983ad8b4aadaac313908b58fe26e0c10c;hpb=be8e23827ad7fb375bf4cd74c6e4eda994ab93f0;p=openwrt%2Fopenwrt.git diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index 9800658983..a7a4730105 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$|^platform$|^ieee1394$|^block$|^atm$) { exec /sbin/hotplug-call %SUBSYSTEM% } -DEVICENAME ~~ (watchdog) { +DEVICENAME == watchdog { exec /sbin/watchdog -t 5 /dev/watchdog - next + next-event }