summaryrefslogtreecommitdiffstats
path: root/sbin/devd/devd.hh
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-10-26 02:11:28 +0000
committerhrs <hrs@FreeBSD.org>2011-10-26 02:11:28 +0000
commitfb5f47d254fc4d1fb1cd611706bdfab3515ff8e6 (patch)
tree4d011720f50d6e9301496fa296ee8c8ddd402c37 /sbin/devd/devd.hh
parentcfa150e0b1092907e533a6ee0ea1a9d21aa4f306 (diff)
downloadFreeBSD-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 'sbin/devd/devd.hh')
-rw-r--r--sbin/devd/devd.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh
index b3c98f3..d70d178 100644
--- a/sbin/devd/devd.hh
+++ b/sbin/devd/devd.hh
@@ -92,6 +92,7 @@ public:
private:
std::string _var;
std::string _re;
+ bool _inv;
regex_t _regex;
};
OpenPOWER on IntegriCloud