1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-05 02:55:42 +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
Name Code
Name Code
Afghanistan AF
Afghanistan AF
Åland Islands AX
Åland Islands AX
Albania AL

View File

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