mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-05 02:55:42 +00:00
tweaks
This commit is contained in:
parent
7112000cc4
commit
09ac1ccf86
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user