mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
Function added to get wifi country.
This commit is contained in:
parent
1accb9fcc9
commit
4547c5b259
@ -272,6 +272,10 @@ do_change_timezone() {
|
|||||||
dpkg-reconfigure tzdata
|
dpkg-reconfigure tzdata
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get_wifi_country() {
|
||||||
|
grep country= /etc/wpa_supplicant/wpa_supplicant.conf | cut -d "=" -f 2
|
||||||
|
}
|
||||||
|
|
||||||
do_configure_wifi_country() {
|
do_configure_wifi_country() {
|
||||||
oIFS="$IFS"
|
oIFS="$IFS"
|
||||||
if [ "$INTERACTIVE" = True ]; then
|
if [ "$INTERACTIVE" = True ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user