added iptables build

This commit is contained in:
wt committed 2025-03-24 17:37:47 +07:00
1 parent f365fbeb8d
commit 5d876267e2
6 files changed
+202 -107

No files matched your search

+2
View File
@@ -18,6 +18,7 @@
. ./scripts/openssl.sh
. ./scripts/hostapd.sh
. ./scripts/dnsmasq.sh
. ./scripts/iptables.sh
#----------- Building rootfs ----------------------
rootfs() {
@@ -62,6 +63,7 @@ rootfs() {
[ "$libnl_enable" = "true" ] && libnl
[ "$iw_enable" = "true" ] && iw
[ "$hostapd_enable" = "true" ] && hostapd
[ "$iptables_enable" = "true" ] && iptables
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab
chmod 755 $rootfspath/etc/init.d/* $rootfspath/usr/share/udhcpc/default.script $rootfspath/init