added kernel driver rtl8821au

This commit is contained in:
wt
2025-03-24 23:37:54 +07:00
parent 5d876267e2
commit b05a2ff338
6 changed files with 37 additions and 2 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
. ./scripts/hostapd.sh
. ./scripts/dnsmasq.sh
. ./scripts/iptables.sh
. ./scripts/8821au_ko.sh
#----------- Building rootfs ----------------------
rootfs() {
@@ -58,12 +59,13 @@ rootfs() {
[ "$sftp_server_enable" = "true" ] && sftp_server
[ "$curl_enable" = "true" ] && curl
[ "$bash_enable" = "true" ] && bash
[ "$git_enable" = "true" ] && git
[ "$git_enable" = "true" ] && git_build
[ "$gitea_enable" = "true" ] && gitea
[ "$libnl_enable" = "true" ] && libnl
[ "$iw_enable" = "true" ] && iw
[ "$hostapd_enable" = "true" ] && hostapd
[ "$iptables_enable" = "true" ] && iptables
[ "$ko8821au_enable" = "true" ] && ko8821au
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab
chmod 755 $rootfspath/etc/init.d/* $rootfspath/usr/share/udhcpc/default.script $rootfspath/init