mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-12-02 01:52:18 +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
|
||||
Module.symvers
|
||||
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}"
|
||||
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 ": ---------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user