Update rc.wireless

This commit is contained in:
bergware
2025-04-26 18:44:12 +02:00
parent 0d7b14724a
commit ca080ed5d3

View File

@@ -201,7 +201,7 @@ wpa_configuration(){
[[ $1 == "IEEE-802.1X" || $1 == "FT/IEEE-802.1X" ]] && echo "ieee80211w=1" >>$WPA
[[ $1 =~ "SAE" || $1 == "IEEE-802.1X/SHA-256" ]] && echo "ieee80211w=2" >>$WPA
[[ $1 =~ "IEEE" ]] && echo "phase2=\"auth=MSCHAPV2\"" >>$WPA
echo "priority=$(priority $1)" >>$WPA
echo "priority=$(priority "$1")" >>$WPA
echo "}" >>$WPA
}