diff options
-rw-r--r-- | etc/devd.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index f0f1f14..47d7759 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -13,14 +13,14 @@ options { # Handle ethernet linkup and linkdown notify 0 { - match "type" "LINK_UP"; + match "type" "LINK_UP"; media-type "ethernet"; - action "/usr/local/bin/php -f /etc/rc.linkup $subsystem start"; + action "/bin/echo -n '$subsystem ' >>/tmp/rc.linkup"; }; notify 0 { - match "type" "LINK_DOWN"; + match "type" "LINK_DOWN"; media-type "ethernet"; - action "/usr/local/bin/php -f /etc/rc.linkup $subsystem stop"; + action "/bin/echo -n '$subsystem ' >>/tmp/rc.linkup"; }; # When a USB keyboard arrives, attach it as the console keyboard. |