diff options
author | hrs <hrs@FreeBSD.org> | 2011-10-26 02:11:28 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-10-26 02:11:28 +0000 |
commit | fb5f47d254fc4d1fb1cd611706bdfab3515ff8e6 (patch) | |
tree | 4d011720f50d6e9301496fa296ee8c8ddd402c37 /etc | |
parent | cfa150e0b1092907e533a6ee0ea1a9d21aa4f306 (diff) | |
download | FreeBSD-src-fb5f47d254fc4d1fb1cd611706bdfab3515ff8e6.zip FreeBSD-src-fb5f47d254fc4d1fb1cd611706bdfab3515ff8e6.tar.gz |
- Add support for a "!" character in regex matching in devd(8). It inverts
the logic (true/false) of the matching.
- Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default
devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached.
Reviewed by: imp
Diffstat (limited to 'etc')
-rw-r--r-- | etc/devd.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 2ba2e0e..27abc1f 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -38,6 +38,7 @@ options { # notify 0 { match "system" "IFNET"; + match "subsystem" "!usbus[0-9]+"; match "type" "ATTACH"; action "/etc/pccard_ether $subsystem start"; }; |