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