Replaced insmod, which doesn't load depedencies, with modprobe, which does

This commit is contained in:
Moowool 2021-12-10 19:13:20 -05:00
parent a3b8329689
commit 15465d52db

View File

@ -20,7 +20,7 @@ echo "
while true; do
read -p "Do you wish to activate the module now? (y/n)" yn
case $yn in
[Yy]* ) insmod 8812au.ko && echo "***Module activated***" && break;;
[Yy]* ) modprobe rtl8812au && echo "***Module activated***" && break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac