summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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