summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-23 20:54:03 +0200
committersmos <seth.mos@dds.nl>2012-05-23 20:54:47 +0200
commit909b0a91da5e9fb665242dd2e2b41856c681ac74 (patch)
treeeebe5207c01d2c22a6a87f6ade3eff74120c344f /etc/devd.conf
parentbd4c21fe576704bb94270589f5387986e35e08ae (diff)
downloadpfsense-909b0a91da5e9fb665242dd2e2b41856c681ac74.zip
pfsense-909b0a91da5e9fb665242dd2e2b41856c681ac74.tar.gz
Reflect naming changes, work around broken media type for wireless
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index a30be64..499fe4b 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -16,14 +16,14 @@ options {
notify 100 {
match "system" "IFNET";
match "type" "LINK_UP";
- match "subsystem" "_vip";
+ match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
action "/etc/rc.carpmaster $subsystem";
};
notify 100 {
match "system" "IFNET";
match "type" "LINK_DOWN";
- match "subsystem" "_vip";
+ match "subsystem" "[a-z]+[0-9]+_vip[0-9]+";
action "/etc/rc.carpbackup $subsystem";
};
@@ -61,14 +61,14 @@ notify 0 {
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
- media-type "802.11";
+ match "subsystem" "[a-z]+[0-9]+_wlan[0-9]+";
action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'";
};
notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
- media-type "802.11";
+ match "subsystem" "[a-z]+[0-9]+_wlan[0-9]+";
action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'";
};
OpenPOWER on IntegriCloud