diff options
-rw-r--r-- | etc/devd.conf | 2 |
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"; }; |