From f80976f7890314110f4c003ab78fb7a4e9770c65 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Sep 2024 20:35:50 +0000 Subject: [PATCH] Added BUNDLE to get app vars --- lib/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/functions.sh b/lib/functions.sh index 91ef89c..701df6e 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -1436,6 +1436,7 @@ get_installedapps() { SERVICES=( $(ls -d /federated/apps/* | awk -F/ '{ print $4 }') ) } get_appvars() { + BUNDLE=$(egrep "TIER|BUNDLE" /etc/federated | awk -F\" '{ print $2 }') LDAP_SECRET=`cat /federated/apps/ldap/.ldap.secret` EXTERNALIP=$(get_externalip); MYSQL_ROOTPASSWORD=`cat /federated/apps/pdnsmysql/.env | grep MYSQL_ROOT_PASSWORD | awk -F= '{ print $2 }'`