mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user