diff --git a/raspi-config b/raspi-config index 4e8a943..45a4be2 100755 --- a/raspi-config +++ b/raspi-config @@ -272,6 +272,10 @@ do_change_timezone() { dpkg-reconfigure tzdata } +get_wifi_country() { + grep country= /etc/wpa_supplicant/wpa_supplicant.conf | cut -d "=" -f 2 +} + do_configure_wifi_country() { oIFS="$IFS" if [ "$INTERACTIVE" = True ]; then