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

Added command to delete the driver folder in /var/lib/dkms/ when the driver is removed

This commit is contained in:
Guilherme Parcerão 2024-04-17 20:48:04 -03:00
parent 4f6004af4c
commit 2bc680cae6
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
*.mod.c
Module.symvers
modules.order
.vscode/

View File

@ -146,6 +146,8 @@ rm -f /etc/modprobe.d/${OPTIONS_FILE}
echo "Removing source files from /usr/src/${DRV_NAME}-${DRV_VERSION}"
rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
make clean >/dev/null 2>&1
echo "Removing driver from the DKMS tree"
rm -rf /var/lib/dkms/rtl8821cu
echo "The driver was removed successfully."
echo "You may now delete the driver directory if desired."
echo ": ---------------------------"