diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-25 22:06:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-25 22:06:23 +0000 |
commit | 7769e6cfafeb66fc0568ff4f6adf483f0783d72a (patch) | |
tree | 55a5fe9c7ff72bd882970b2c50fc468ba5ecb036 /etc/devd.conf | |
parent | 482b5d349df9797c90d229ce589451f23b2c193d (diff) | |
download | pfsense-7769e6cfafeb66fc0568ff4f6adf483f0783d72a.zip pfsense-7769e6cfafeb66fc0568ff4f6adf483f0783d72a.tar.gz |
Add cvs id
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index b61387a..49bcbb6 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -1,3 +1,4 @@ +# $Id$ # $FreeBSD: src/etc/devd.conf,v 1.26.2.1 2005/09/03 22:49:22 sam Exp $ # # Refer to devd.conf(5) and devd(8) man pages for the details on how to @@ -33,12 +34,12 @@ options { # attach 0 { media-type "ethernet"; - action "/etc/pccard_ether $device-name start"; + action "/sbin/dhclient $device-name"; }; detach 0 { media-type "ethernet"; - action "/etc/pccard_ether $device-name stop"; + action "/sbin/dhclient $device-name"; }; # @@ -51,7 +52,7 @@ notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "ethernet"; - action "/sbin/dhclient $subsystem"; + action "/sbin/dhclient $device-name"; }; # @@ -61,17 +62,17 @@ notify 0 { # detach 0 { media-type "802.11"; - action "/etc/pccard_ether $device-name stop"; + action "/sbin/dhclient $device-name"; }; attach 0 { media-type "802.11"; - action "/etc/pccard_ether $device-name start"; + action "/sbin/dhclient $device-name"; }; notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "802.11"; - action "/sbin/dhclient $subsystem"; + action "/sbin/dhclient $device-name"; }; # An entry like this might be in a different file, but is included here @@ -80,7 +81,7 @@ notify 0 { # hard wired to 1.2.3.4. attach 100 { device-name "ed50"; - action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000"; + action "/sbin/ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000"; }; detach 100 { device-name "ed50"; @@ -120,11 +121,11 @@ nomatch 0 { }; # Switch power profiles when the AC line state changes. -notify 10 { - match "system" "ACPI"; - match "subsystem" "ACAD"; - action "/etc/rc.d/power_profile $notify"; -}; +#notify 10 { +# match "system" "ACPI"; +# match "subsystem" "ACAD"; +# action "/etc/rc.d/power_profile $notify"; +#}; # 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 @@ -152,11 +153,11 @@ nomatch 10 { }; attach 10 { device-name "deqna[0-9]+"; - action "/etc/pccard_ether $device-name start"; + action "/sbin/dhclient $device-name"; }; detach 10 { device-name "deqna[0-9]+"; - action "/etc/pccard_ether $device-name stop"; + action "/sbin/dhclient $device-name"; }; # Examples of notify hooks. A notify is a generic way for a kernel @@ -180,9 +181,9 @@ detach 10 { # notify value as the first argument. If the state is 0x00, it might # call some sysctls to implement economy mode. If 0x01, it might set # the mode to performance. -notify 10 { - match "system" "ACPI"; - match "subsystem" "ACAD"; - action "/etc/acpi_ac $notify"; -}; +#notify 10 { +# match "system" "ACPI"; +# match "subsystem" "ACAD"; +# action "/etc/acpi_ac $notify"; +#}; */ |