diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-28 21:49:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-28 21:49:45 +0000 |
commit | 2305d4c590a2645e2a294c20adb323b3dc25307d (patch) | |
tree | c23b1a2fdd24b4669587896921f2ade535f097c2 /etc/devd.conf | |
parent | 06246e5bbe4407b19fc93f40bed3835a7656160a (diff) | |
download | pfsense-2305d4c590a2645e2a294c20adb323b3dc25307d.zip pfsense-2305d4c590a2645e2a294c20adb323b3dc25307d.tar.gz |
Go back to stock FreeBSD dhclient. ISC's is not very multi wan friendly and will make rearchitecting our code a complete interface rewrite.
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 18 |
1 files changed, 12 insertions, 6 deletions
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. |