[package] hotplug2: Use stricter matching for rule regular expressions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Vasilis Tsiligiannis
2011-02-01 16:37:53 +00:00
parent bc043c24b1
commit 202a7b3712
4 changed files with 12 additions and 13 deletions

View File

@@ -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
}