diff options
author | smos <seth.mos@dds.nl> | 2012-05-20 19:59:43 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-05-20 20:01:39 +0200 |
commit | 1de3cd8749db653be0b6700653e74279837d9f1b (patch) | |
tree | 11c9a2a4291b5f54d550e673000e4b42c818cd75 /etc | |
parent | e4834b5773d8fb0a7cc413c0355714b198a4d433 (diff) | |
download | pfsense-1de3cd8749db653be0b6700653e74279837d9f1b.zip pfsense-1de3cd8749db653be0b6700653e74279837d9f1b.tar.gz |
Act on wireless interfaces too for linkup.
Redmine ticket #2440
Diffstat (limited to 'etc')
-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. |