Add a wpa_supplicant rc script and bring in code to handle "WPA" in an
commit8f5a6ae55fd1e79e05de2e4d61b9d71bf5d26b97
authorswildner <swildner>
Tue, 10 Jul 2007 22:36:01 +0000 (10 22:36 +0000)
committerswildner <swildner>
Tue, 10 Jul 2007 22:36:01 +0000 (10 22:36 +0000)
tree9de15ca2a846943b6788259001e04b81b76a8253
parent13160d5239175ded3d17950b5dc5fe53d2431a59
Add a wpa_supplicant rc script and bring in code to handle "WPA" in an
ifconfig_blah0="..." line in rc.conf. It should now be possible to bring
up a wireless interface with a line similar to:

ifconfig_iwi0="up WPA DHCP"

This commit also removes the restriction that when "DHCP" was specified,
the rest of the arguments were ignored. So the following should work now:

ifconfig_rl0="DHCP media 10baseT/UTP"

The commit also adds rc settings for interface renaming, e.g.:

ifconfig_iwi0_name="net0"
ifconfig_net0="up WPA DHCP"

Obtained-from: FreeBSD
etc/defaults/rc.conf
etc/mtree/BSD.var.dist
etc/network.subr
etc/rc.d/Makefile
etc/rc.d/dhclient
etc/rc.d/netif
etc/rc.d/wpa_supplicant [new file with mode: 0644]
share/man/man5/rc.conf.5