mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-22 13:34:47 +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
|
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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user