Added several varaibles (ATBQT...)
This commit is contained in:
parent
5d53c448bc
commit
312f87487d
24
read_config
24
read_config
@ -33,7 +33,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
||||
log_fatal "$func:${LINENO}: $WORKING_DIRECTORY not found"
|
||||
fi
|
||||
|
||||
EXITCODE=0
|
||||
EXITCODE=$RC_SUCCESS
|
||||
CLONE_CUSTOMER_REPOSITORY=false
|
||||
|
||||
# read config file (JSON syntax)
|
||||
@ -118,8 +118,17 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
||||
log_debug "$func:${LINENO}: $CUSTOMER_LOCATION_DIR"
|
||||
|
||||
readonly UPDATE_CONF="${CUSTOMER_LOCATION_DIR}/update.conf"
|
||||
log_debug "$func:${LINENO}: UPDATE.CONF="
|
||||
log_debug "$func:${LINENO}: $UPDATE_CONF"
|
||||
log_debug "$func:${LINENO}: UPDATE.CONF=$UPDATE_CONF"
|
||||
|
||||
readonly DC="dc2c.hex"
|
||||
readonly DC_SYS_DIR="/etc/dc"
|
||||
readonly DC_DIR="${CUSTOMER_LOCATION_DIR}/dc"
|
||||
readonly DC_FULL="${DC_DIR}/$DC"
|
||||
if [ -f "$DC_FULL" ]; then
|
||||
log_debug "$func:${LINENO}: d2dc.hex=$DC_FULL"
|
||||
else
|
||||
log_fatal "$func:${LINENO}: $DC_FULL does not exist"
|
||||
fi
|
||||
|
||||
# readonly zone_groups=(${__zone_groups[@]})
|
||||
# by now (03.03.2023) there is only one zone group.
|
||||
@ -227,6 +236,15 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
||||
log_fatal "$func:${LINENO}: $ATBQT_INI_FULL does not exist"
|
||||
fi
|
||||
|
||||
readonly ATBQT="ATBQT"
|
||||
readonly ATBQT_SYS_FULL="${ATBAPP_SYS_DIR}/$ATBQT"
|
||||
if [ -f "$ATBQT_SYS_FULL" ]; then
|
||||
log_debug "$func:${LINENO}: ATBQT="
|
||||
log_debug "$func:${LINENO}: $ATBQT_SYS_FULL"
|
||||
else
|
||||
log_fatal "$func:${LINENO}: $ATBQT_SYS_FULL does not exist"
|
||||
fi
|
||||
|
||||
readonly ISMASMGR_INI="ISMASMgr.ini"
|
||||
readonly ISMASMGR_SYS_DIR="/opt/app/ISMASMgr"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user