1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-22 13:34:47 +00:00
This commit is contained in:
morrownr 2022-12-09 12:31:49 -06:00
parent 7112000cc4
commit 09ac1ccf86
2 changed files with 10 additions and 10 deletions

View File

@ -22,11 +22,11 @@ iw reg get
ISO 3166-1 alpha-2 Country Codes ISO 3166-1 alpha-2 Country Codes
Name Code Name Code
Afghanistan AF Afghanistan AF
Åland Islands AX Åland Islands AX
Albania AL Albania AL

View File

@ -128,15 +128,15 @@ echo "CPU Architecture=${KARCH}"
gcc_ver=$(gcc --version | grep -i gcc) gcc_ver=$(gcc --version | grep -i gcc)
echo "gcc --version="${gcc_ver} echo "gcc --version="${gcc_ver}
# display and check ISO 3166-1 alpha-2 Country Code # display ISO 3166-1 alpha-2 Country Code
a2_country_code=$(iw reg get | grep -i country) a2_country_code=$(iw reg get | grep -i country)
echo "Country Code="${a2_country_code} echo "Country Code="${a2_country_code}
if [[ $a2_country_code == *"00"* ]]; #if [[ $a2_country_code == *"00"* ]];
then #then
echo "The Country Code is not properly set." # echo "The Country Code is not properly set."
echo "File alpha-2_Country_Codes is located in the driver directory." # echo "File alpha-2_Country_Codes is located in the driver directory."
echo "Please read and follow the directions in the file." # echo "Please read and follow the directions in the file."
fi #fi
# display secure mode status # display secure mode status
# run if mokutil is installed # run if mokutil is installed