diff options
Diffstat (limited to 'etc/devd.conf')
-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'"; }; |