added iw for ap

This commit is contained in:
wt
2025-03-02 00:50:34 +07:00
parent dd41d6fe02
commit 8e194a61b7
11 changed files with 34 additions and 23 deletions
+2
View File
@@ -14,6 +14,7 @@
. ./scripts/git.sh
. ./scripts/gitea.sh
. ./scripts/libnl.sh
. ./scripts/iw.sh
#----------- Building rootfs ----------------------
rootfs() {
@@ -69,6 +70,7 @@ rootfs() {
if [ "$libnl_enable" = "true" ]; then
libnl
fi
[ "$iw_enable" = "true" ] && iw
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab
chmod 755 $rootfspath/etc/init.d/* $rootfspath/usr/share/udhcpc/default.script $rootfspath/init