diff options
author | smos <seth.mos@dds.nl> | 2012-05-23 20:54:03 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-05-23 20:54:47 +0200 |
commit | 909b0a91da5e9fb665242dd2e2b41856c681ac74 (patch) | |
tree | eebe5207c01d2c22a6a87f6ade3eff74120c344f /etc | |
parent | bd4c21fe576704bb94270589f5387986e35e08ae (diff) | |
download | pfsense-909b0a91da5e9fb665242dd2e2b41856c681ac74.zip pfsense-909b0a91da5e9fb665242dd2e2b41856c681ac74.tar.gz |
Reflect naming changes, work around broken media type for wireless
Diffstat (limited to 'etc')
-rw-r--r-- | etc/devd.conf | 8 |
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'"; }; |