added dnsmasq
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user