;;
esac
;;
- WPA|wpa|WPA2|wpa2i|8021x|8021X)
+ WPA|wpa|WPA2|wpa2|8021x|8021X)
proto='WPA2'
key_mgmt='WPA-EAP'
config_get ca_cert "$vif" ca_cert
config_get bridge "$vif" bridge
config_get ssid "$vif" ssid
cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
+ctrl_interface=/var/run/wpa_supplicant-$ifname
network={
scan_ssid=1
ssid="$ssid"