From c6f0389eb3b44daab08c393cd8d151bc72833fa5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 3 Jul 2023 23:47:08 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/defaults.inc b/defaults.inc index 3124770f..dfa9c491 100755 --- a/defaults.inc +++ b/defaults.inc @@ -65,8 +65,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_SERVICES_CHECK $value done - else - declare "${ntype}_SERVICES_CHECK"="" + # else + # declare "${ntype}_SERVICES_CHECK"="" fi if [ "${NM_DOCKERS_CHECK[${ntype}]}" != "" ]; then @@ -74,8 +74,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_DOCKERS_CHECK $value done - else - declare "${ntype}_DOCKERS_CHECK"="" + # else + # declare "${ntype}_DOCKERS_CHECK"="" fi if [ "${NM_REPL_CHECK[${ntype}]}" != "" ]; then @@ -83,8 +83,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_REPL_CHECK $value done - else - declare "${ntype}_REPL_CHECK"="" + # else + # declare "${ntype}_REPL_CHECK"="" fi if [ "${NM_SINGLESRVR_SERVICES[${ntype}]}" != "" ]; then @@ -92,8 +92,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_SINGLESRVR_SERVICES $value done - else - declare "${ntype}_SINGLESRVR_SERVICES"="" + # else + # declare "${ntype}_SINGLESRVR_SERVICES"="" fi if [ "${NM_SINGLESRVR_DOCKERS[${ntype}]}" != "" ]; then @@ -101,8 +101,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_SINGLESRVR_DOCKERS $value done - else - declare "${ntype}_SINGLESRVR_DOCKERS"="" + # else + # declare "${ntype}_SINGLESRVR_DOCKERS"="" fi if [ "${NM_SINGLESRVR_IP[${ntype}]}" != "" ]; then @@ -110,8 +110,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then for value in "${var[@]}"; do arr_insert ${ntype}_SINGLESRVR_IP $value done - else - declare "${ntype}_SINGLESRVR_IP"="" + # else + # declare "${ntype}_SINGLESRVR_IP"="" fi done