added dnsmasq

This commit is contained in:
wt
2025-03-22 02:16:32 +07:00
parent fc0d5d76a1
commit f365fbeb8d
3 changed files with 28 additions and 3 deletions
+3 -1
View File
@@ -17,6 +17,7 @@
. ./scripts/iw.sh
. ./scripts/openssl.sh
. ./scripts/hostapd.sh
. ./scripts/dnsmasq.sh
#----------- Building rootfs ----------------------
rootfs() {
@@ -50,6 +51,8 @@ rootfs() {
kernel
kernel_modules
[ "$ZLIB_ENABLE" = "true" ] && zlib
[ "$openssl_enable" = "true" ] && openssl
[ "$dnsmasq_enable" = "true" ] && dnsmasq
[ "$DROPBEAR_ENABLE" = "true" ] && dropbear
[ "$sftp_server_enable" = "true" ] && sftp_server
[ "$curl_enable" = "true" ] && curl
@@ -58,7 +61,6 @@ rootfs() {
[ "$gitea_enable" = "true" ] && gitea
[ "$libnl_enable" = "true" ] && libnl
[ "$iw_enable" = "true" ] && iw
[ "$openssl_enable" = "true" ] && openssl
[ "$hostapd_enable" = "true" ] && hostapd
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab