minor editing

pull/23/head
morrownr 2022-12-07 12:02:14 -06:00
parent 2ac8038acb
commit d28b4816bb
1 changed files with 7 additions and 6 deletions

View File

@ -19,7 +19,8 @@ DRV_NAME="rtl${MODULE_NAME}"
DRV_DIR="$(pwd)" DRV_DIR="$(pwd)"
# Some distros have a non-mainlined, patched-in kernel driver # Some distros have a non-mainlined, patched-in kernel driver
# that has to be deactivated. # that has to be deactivated. The filename may need to change
# when the new in-kernel driver is mainlined.
BLACKLIST_FILE="rtw88_8821cu.conf" BLACKLIST_FILE="rtw88_8821cu.conf"
# check to ensure sudo was used # check to ensure sudo was used
@ -98,10 +99,10 @@ fi
# information that helps with bug reports # information that helps with bug reports
# display kernel # display kernel version
echo "Linux Kernel=${KVER}" echo "Linux Kernel=${KVER}"
# display architecture - for ARM: aarch64 = 64 bit, armv7l = 32 bit # display architecture
echo "CPU Architecture=${KARCH}" echo "CPU Architecture=${KARCH}"
# display gcc version # display gcc version
@ -191,7 +192,7 @@ else
exit $RESULT exit $RESULT
fi fi
else else
echo "The driver was added successfully." echo "The driver was added to dkms successfully."
fi fi
dkms build -m ${DRV_NAME} -v ${DRV_VERSION} dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
@ -206,7 +207,7 @@ else
echo "$ sudo ./remove-driver.sh" echo "$ sudo ./remove-driver.sh"
exit $RESULT exit $RESULT
else else
echo "The driver was built successfully." echo "The driver was built by dkms successfully."
fi fi
dkms install -m ${DRV_NAME} -v ${DRV_VERSION} dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
@ -221,7 +222,7 @@ else
echo "$ sudo ./remove-driver.sh" echo "$ sudo ./remove-driver.sh"
exit $RESULT exit $RESULT
else else
echo "The driver was installed successfully." echo "The driver was installed by dkms successfully."
fi fi
fi fi