mirror of
https://github.com/unraid/webgui.git
synced 2026-02-27 04:41:20 -06:00
Wireless: fix regression error in security detection
This commit is contained in:
@@ -270,6 +270,8 @@ wifi_join(){
|
||||
sed -ri "s/^(PASSWORD=\").+$/\1$ENCRYPT2\"/" $CFG
|
||||
fi
|
||||
SECURITY=${SECURITY:-$ATTR3}
|
||||
# remove FT indicator
|
||||
SECURITY=${SECURITY//FT\//}
|
||||
# regulatory region
|
||||
REGION=$(grep -Pom1 '^REGION="\K[^"]+' $CFG)
|
||||
REGION_XX=$(grep -Pom1 '^REGION_XX="\K[^"]+' $CFG)
|
||||
|
||||
Reference in New Issue
Block a user