summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf13
1 files changed, 7 insertions, 6 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 647de43..7c63591 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -27,12 +27,6 @@ notify 100 {
action "/etc/rc.carpbackup $subsystem";
};
-#notify 0 {
-# match "type" "LINK_DOWN";
-# media-type "ethernet";
-# action "/usr/local/sbin/pfSctl -c 'interface linkup stop $subsystem'";
-#};
-
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
@@ -57,6 +51,13 @@ notify 0 {
action "/usr/local/sbin/pfSctl -c 'interface linkup start $subsystem'";
};
+notify 0 {
+ match "system" "IFNET";
+ match "type" "LINK_DOWN";
+ media-type "ethernet";
+ 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