mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-12-04 22:24:17 +09:00
Set Wi-Fi country while connecting to SSID
This commit is contained in:
@@ -1444,6 +1444,10 @@ do_wifi_ssid_passphrase() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ "$INTERACTIVE" = True ] && [ -z "$(get_wifi_country)" ]; then
|
||||
do_wifi_country
|
||||
fi
|
||||
|
||||
SSID="$1"
|
||||
while [ -z "$SSID" ] && [ "$INTERACTIVE" = True ]; do
|
||||
SSID=$(whiptail --inputbox "Please enter SSID" 20 60 3>&1 1>&2 2>&3)
|
||||
|
||||
Reference in New Issue
Block a user