diff --git a/Makefile b/Makefile index 7fa2187..2862b30 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ strip: install: install -p -m 644 8188eu.ko $(MODDESTDIR) - @modprobe -r r8188eu + @if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi; @echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf cp rtl8188eufw.bin /lib/firmware/. /sbin/depmod -a ${KVER}