added iptables build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user