mirror of
https://github.com/unraid/webgui.git
synced 2026-01-25 11:09:03 -06:00
Revert "Wireless: fix regression error in security detection"
This reverts commit b21658100f.
This commit is contained in:
@@ -270,8 +270,6 @@ 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