mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-10-31 16:55:24 +00:00
cosmetic updates
This commit is contained in:
parent
5b7422df6b
commit
57098d7182
1
Makefile
1
Makefile
@ -1,6 +1,5 @@
|
||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||
EXTRA_CFLAGS += -O1
|
||||
# --param ggc-min-expand=10
|
||||
#EXTRA_CFLAGS += -O3
|
||||
#EXTRA_CFLAGS += -Wall
|
||||
#EXTRA_CFLAGS += -Wextra
|
||||
|
@ -16,7 +16,7 @@
|
||||
# GNU General Public License for more details.
|
||||
|
||||
SCRIPT_NAME="install-driver.sh"
|
||||
SCRIPT_VERSION="20230107"
|
||||
SCRIPT_VERSION="20230109"
|
||||
MODULE_NAME="8821cu"
|
||||
DRV_VERSION="5.12.0.4"
|
||||
|
||||
@ -120,30 +120,30 @@ echo "Script: ${SCRIPT_NAME} v${SCRIPT_VERSION}"
|
||||
# information that helps with bug reports
|
||||
|
||||
# display architecture
|
||||
echo "Arch:${KARCH}"
|
||||
echo ": ${KARCH}"
|
||||
|
||||
# display total memory in system
|
||||
grep MemTotal /proc/meminfo
|
||||
#grep MemTotal /proc/meminfo
|
||||
|
||||
# display kernel version
|
||||
echo "Kernel: ${KVER}"
|
||||
echo ": ${KVER}"
|
||||
|
||||
# display gcc version
|
||||
gcc_ver=$(gcc --version | grep -i gcc)
|
||||
echo "gcc: "${gcc_ver}
|
||||
echo ": "${gcc_ver}
|
||||
|
||||
# display dkms version
|
||||
# run if dkms is installed
|
||||
# display dkms version if installed
|
||||
if command -v dkms >/dev/null 2>&1
|
||||
then
|
||||
dkms --version
|
||||
dkms_ver=$(dkms --version)
|
||||
echo ": "${dkms_ver}
|
||||
fi
|
||||
|
||||
# display secure mode status
|
||||
# run if mokutil is installed
|
||||
# display secure mode status if mokutil is installed
|
||||
if command -v mokutil >/dev/null 2>&1
|
||||
then
|
||||
mokutil --sb-state
|
||||
sb_state=$(mokutil --sb-state)
|
||||
echo ": "${sb_state}
|
||||
fi
|
||||
|
||||
# display ISO 3166-1 alpha-2 Country Code
|
||||
|
@ -16,7 +16,7 @@
|
||||
# GNU General Public License for more details.
|
||||
|
||||
SCRIPT_NAME="remove-driver.sh"
|
||||
SCRIPT_VERSION="20230107"
|
||||
SCRIPT_VERSION="20230109"
|
||||
MODULE_NAME="8821cu"
|
||||
DRV_VERSION="5.12.0.4"
|
||||
|
||||
@ -91,10 +91,10 @@ fi
|
||||
# information that helps with bug reports
|
||||
|
||||
# display kernel version
|
||||
echo "Kernel: ${KVER}"
|
||||
echo ": ${KVER}"
|
||||
|
||||
# display architecture
|
||||
echo "Arch : ${KARCH}"
|
||||
echo ": ${KARCH}"
|
||||
|
||||
# determine if dkms is installed and run the appropriate routines
|
||||
if command -v dkms >/dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user