Add a wpa_supplicant rc script and bring in code to handle "WPA" in an
authorSascha Wildner <swildner@dragonflybsd.org>
Tue, 10 Jul 2007 22:36:01 +0000 (22:36 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Tue, 10 Jul 2007 22:36:01 +0000 (22:36 +0000)
commitf26c267a65aecf9279492ce5aa7d711dd8b5680d
treeb2effa3639aa3ed2e39bce976357d5d33092d039
parente0383bf316274c606b4e447c36dcca1f57ef0d30
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