mirror of
https://github.com/gnab/rtl8812au
synced 2025-01-08 17:46:23 +00:00
Installed the kernel module correctly
This commit is contained in:
parent
c91bed4dbb
commit
a3b8329689
@ -5,7 +5,11 @@ if [ "$(id -u)" != "0" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
DRIV_DIR=/lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8812au
|
||||||
|
|
||||||
make -j$(nproc) &&
|
make -j$(nproc) &&
|
||||||
|
mkdir -p $DRIV_DIR &&
|
||||||
|
xz -c 8812au.ko > $DRIV_DIR/rtl8812au.ko.xz &&
|
||||||
cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless &&
|
cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless &&
|
||||||
depmod &&
|
depmod &&
|
||||||
echo "
|
echo "
|
||||||
|
Loading…
Reference in New Issue
Block a user