mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Set Wi-Fi country while connecting to SSID
This commit is contained in:
parent
0c055b6ab7
commit
efed74ae9c
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
raspi-config (20180406) stretch; urgency=medium
|
||||
|
||||
* Set Wi-Fi country while connecting to SSID
|
||||
|
||||
-- Serge Schneider <serge@raspberrypi.org> Fri, 06 Apr 2018 13:40:21 +0100
|
||||
|
||||
raspi-config (20180228) stretch; urgency=medium
|
||||
|
||||
* Setting Wi-Fi country no longer requires a reboot
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user