Added known_files-array

This commit is contained in:
Gerhard Hoffmann 2022-06-03 19:03:08 +02:00
parent b4ea938a29
commit 260cbab78d

View File

@ -140,7 +140,7 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
log_fatal "$func:${LINENO}: $psa_ismasmgr_dir does not exist" log_fatal "$func:${LINENO}: $psa_ismasmgr_dir does not exist"
fi fi
readonly psa_atbqt_dir="${psa_base_ini_dir}/ATBQT" readonly psa_atbqt_dir="${psa_base_ini_dir}/ATBAPP"
if [ -d "$psa_atbqt_dir" ]; then if [ -d "$psa_atbqt_dir" ]; then
log_debug "$func:${LINENO}: psa_atbqt_dir=" log_debug "$func:${LINENO}: psa_atbqt_dir="
log_debug "$func:${LINENO}: $psa_atbqt_dir" log_debug "$func:${LINENO}: $psa_atbqt_dir"
@ -220,6 +220,19 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
log_fatal "$func:${LINENO}: $opkg_cmds_file does not exist" log_fatal "$func:${LINENO}: $opkg_cmds_file does not exist"
fi fi
readonly known_files=(${customer_location}/update.conf \
${customer_location}/current.conf \
${device_conf##*${customer_id}/} \
${emp_conf##*${customer_id}/} \
${printer_conf##*${customer_id}/} \
${opkg_cmds_file##*${customer_id}/} \
${atbqt_ini##*${customer_id}/} \
${ismasmgr_ismasmgr_ini##*${customer_id}/} \
${sysconfig_ismasmgr_ini##*${customer_id}/} \
${sysconfig_sysconfig_ini##*${customer_id}/} \
${sysconfig_sysctrl_ini##*${customer_id}/})
log_debug "$func:${LINENO}: conf/ini_files=$(echo ${known_files[@]})"
log_debug "$func:${LINENO}: sanity of ${customer_repository_path} OK" log_debug "$func:${LINENO}: sanity of ${customer_repository_path} OK"
return 0 return 0