updated variables and added defconfigs

This commit is contained in:
wt
2025-04-01 12:57:12 +07:00
parent 95e54ff71e
commit 63a7acdfd5
5 changed files with 112 additions and 28 deletions
+12 -12
View File
@@ -53,19 +53,19 @@ rootfs() {
kernel
kernel_modules
[ "$ZLIB_ENABLE" = "true" ] && zlib
[ "$openssl_enable" = "true" ] && openssl
[ "$dnsmasq_enable" = "true" ] && dnsmasq
[ "$OPENSSL_ENABLE" = "true" ] && openssl
[ "$DNSMASQ_ENABLE" = "true" ] && dnsmasq
[ "$DROPBEAR_ENABLE" = "true" ] && dropbear
[ "$sftp_server_enable" = "true" ] && sftp_server
[ "$curl_enable" = "true" ] && curl
[ "$bash_enable" = "true" ] && bash
[ "$git_enable" = "true" ] && git_build
[ "$gitea_enable" = "true" ] && gitea
[ "$libnl_enable" = "true" ] && libnl
[ "$iw_enable" = "true" ] && iw
[ "$hostapd_enable" = "true" ] && hostapd
[ "$iptables_enable" = "true" ] && iptables
[ "$ko8821au_enable" = "true" ] && ko8821au
[ "$SFTP_SERVER_ENABLE" = "true" ] && sftp_server
[ "$CURL_ENABLE" = "true" ] && curl
[ "$BASH_ENABLE" = "true" ] && bash
[ "$GIT_ENABLE" = "true" ] && git_build
[ "$GITEA_ENABLE" = "true" ] && gitea
[ "$LIBNL_ENABLE" = "true" ] && libnl
[ "$IW_ENABLE" = "true" ] && iw
[ "$HOSTAPD_ENABLE" = "true" ] && hostapd
[ "$IPTABLES_ENABLE" = "true" ] && iptables
[ "$KO8821AU_ENABLE" = "true" ] && ko8821au
chmod 640 $rootfspath/etc/shadow $rootfspath/etc/inittab
chmod 755 $rootfspath/etc/init.d/* $rootfspath/usr/share/udhcpc/default.script $rootfspath/init