diff options
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 912bd7e..a30be64 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -55,6 +55,23 @@ notify 0 { action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'"; }; +# +# Signal upper levels that an event happened on 802.11 class interface +# +notify 0 { + match "system" "IFNET"; + match "type" "LINK_UP"; + media-type "802.11"; + action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'"; +}; + +notify 0 { + match "system" "IFNET"; + match "type" "LINK_DOWN"; + media-type "802.11"; + action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'"; +}; + # Notify all users before beginning emergency shutdown when we get # a _CRT or _HOT thermal event and we're going to power down the system # very soon. |