summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-20 19:59:43 +0200
committersmos <seth.mos@dds.nl>2012-05-20 20:01:39 +0200
commit1de3cd8749db653be0b6700653e74279837d9f1b (patch)
tree11c9a2a4291b5f54d550e673000e4b42c818cd75 /etc
parente4834b5773d8fb0a7cc413c0355714b198a4d433 (diff)
downloadpfsense-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.conf17
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.
OpenPOWER on IntegriCloud