diff --git a/.gitignore b/.gitignore index a9ca360..fff02bc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ *.mod.c Module.symvers modules.order +.vscode/ diff --git a/remove-driver.sh b/remove-driver.sh index 2dab4fd..424b292 100755 --- a/remove-driver.sh +++ b/remove-driver.sh @@ -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 ": ---------------------------"