summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-27 00:35:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-27 00:35:36 +0000
commit2e07d253672fd5dbf11eac5684eef6addefdf626 (patch)
tree342e61bc1e30b0ba1a9743debd0b2dfefedb5969 /etc/devd.conf
parent5ffb18e02533ceacb997c76d91e590f31a21d315 (diff)
downloadpfsense-2e07d253672fd5dbf11eac5684eef6addefdf626.zip
pfsense-2e07d253672fd5dbf11eac5684eef6addefdf626.tar.gz
Only fire events on ethernet types
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 3faf937..f0f1f14 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -14,10 +14,12 @@ options {
# Handle ethernet linkup and linkdown
notify 0 {
match "type" "LINK_UP";
+ media-type "ethernet";
action "/usr/local/bin/php -f /etc/rc.linkup $subsystem start";
};
notify 0 {
match "type" "LINK_DOWN";
+ media-type "ethernet";
action "/usr/local/bin/php -f /etc/rc.linkup $subsystem stop";
};
OpenPOWER on IntegriCloud