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:
parent
4f6004af4c
commit
2bc680cae6
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
*.mod.c
|
*.mod.c
|
||||||
Module.symvers
|
Module.symvers
|
||||||
modules.order
|
modules.order
|
||||||
|
.vscode/
|
||||||
|
@ -146,6 +146,8 @@ rm -f /etc/modprobe.d/${OPTIONS_FILE}
|
|||||||
echo "Removing source files from /usr/src/${DRV_NAME}-${DRV_VERSION}"
|
echo "Removing source files from /usr/src/${DRV_NAME}-${DRV_VERSION}"
|
||||||
rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
|
rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
|
||||||
make clean >/dev/null 2>&1
|
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 "The driver was removed successfully."
|
||||||
echo "You may now delete the driver directory if desired."
|
echo "You may now delete the driver directory if desired."
|
||||||
echo ": ---------------------------"
|
echo ": ---------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user