
Code: Select all
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
config_eth0="dhcp"
dhcpcd_eth0="-t 5 -N"
postup() {
# force wired if we are running both wired and wireless
ifmetric eth0 0
ifmetric eth1 1
}
postdown() {
ifmetric eth0 1
ifmetric eth1 0
}
config_eth1="dhcp"
dhcpcd_eth1="-t 15 -N"
modules=( "wpa_supplicant")
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60