1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-19 12:04:48 +00:00

minor cosmetic issues discovered during testing

This commit is contained in:
morrownr 2023-01-26 14:46:43 -06:00
parent 180d90bd6e
commit 46c418e960
2 changed files with 5 additions and 8 deletions

View File

@ -51,7 +51,6 @@ ${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE}
printf "Do you want to apply the new options by rebooting now? (recommended) [y/N] "
read -r REPLY
echo # move to a new line
case "$REPLY" in
[yY]*) reboot ;;
esac

View File

@ -127,7 +127,7 @@ echo ": ${SCRIPT_NAME} v${SCRIPT_VERSION}"
# information that helps with bug reports
# display architecture
echo ": ${KARCH} (ARCH)"
echo ": ${KARCH} (architecture)"
SMEM=$(LANG=C free | awk '/Mem:/ { print $2 }')
sproc=$(nproc)
@ -140,13 +140,13 @@ if [ "$sproc" -gt 1 ]; then
fi
# display number of in-use processing units / total processing units
echo ": ${sproc}/$(nproc) (in-use processing units/total processing units)"
echo ": ${sproc}/$(nproc) (in-use/total processing units)"
# display total system memory
echo ": ${SMEM} (MEM)"
echo ": ${SMEM} (total system memory)"
# display kernel version
echo ": ${KVER} (KVER)"
echo ": ${KVER} (kernel version)"
# display gcc version
gcc_ver=$(gcc --version | grep -i gcc)
@ -166,7 +166,7 @@ fi
# display ISO 3166-1 alpha-2 Country Code
a2_country_code=$(iw reg get | grep -i country)
echo ": ""${a2_country_code}"
echo ": Location: ""${a2_country_code}"
#if [[ $a2_country_code == *"00"* ]];
#then
# echo "The Country Code may not be properly set."
@ -343,14 +343,12 @@ fi
if [ $NO_PROMPT -ne 1 ]; then
printf "Do you want to edit the driver options file now? [y/N] "
read -r REPLY
echo
case "$REPLY" in
[yY]*) ${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE} ;;
esac
printf "Do you want to apply the new options by rebooting now? (recommended) [y/N] "
read -r REPLY
echo
case "$REPLY" in
[yY]*) reboot ;;
esac