From 2305d4c590a2645e2a294c20adb323b3dc25307d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 28 Dec 2006 21:49:45 +0000 Subject: Go back to stock FreeBSD dhclient. ISC's is not very multi wan friendly and will make rearchitecting our code a complete interface rewrite. --- etc/devd.conf | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'etc/devd.conf') diff --git a/etc/devd.conf b/etc/devd.conf index 310f293..847f6f5 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -11,6 +11,18 @@ options { [0-9]+"; }; +# Handle ethernet linkup and linkdown +notify 0 { + match "type" "LINK_UP"; + media-type "ethernet"; + action "/bin/echo -n '$subsystem start ' >>/tmp/rc.linkup"; +}; +notify 0 { + match "type" "LINK_DOWN"; + media-type "ethernet"; + action "/bin/echo -n '$subsystem stop ' >>/tmp/rc.linkup"; +}; + # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; @@ -21,12 +33,6 @@ detach 100 { action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; -notify 0 { - match "type" "LINK_DOWN"; - media-type "ethernet"; - action "/bin/echo -n '$subsystem stop ' >>/tmp/rc.linkup"; -}; - # 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. -- cgit v1.1