added several new global variables: update_conf, ...

This commit is contained in:
Gerhard Hoffmann 2022-06-04 21:29:23 +02:00
parent 094580e294
commit cb0586fb6b

View File

@ -58,14 +58,28 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
readonly customer_location_dir="$__customer_base_dir"
log_info "$func:${LINENO}: customer-location-dir is $customer_location_dir"
readonly update_conf="${customer_location_dir}/update.conf"
log_info "$func:${LINENO}: update.conf at $update_conf"
readonly current_conf="${customer_location_dir}/current.conf"
log_info "$func:${LINENO}: current.conf at $current_conf"
readonly customer_base_dir="${__customer_base_dir}/${zone_group}/${zone}"
log_info "$func:${LINENO}: customer-base-dir is $customer_base_dir"
readonly opkg_cmds_file="${customer_base_dir}/etc/psa_update/opkg_commands"
readonly emp_conf="${customer_base_dir}/etc/psa_config/emp.conf"
log_info "$func:${LINENO}: emp.conf at $emp_conf"
log_info "$func:${LINENO}: opkg_cmds_file is $opkg_cmds_file"
readonly device_conf="${customer_base_dir}/etc/psa_config/device.conf"
log_info "$func:${LINENO}: device.conf at $device_conf"
readonly printer_conf="${customer_base_dir}/etc/psa_config/printer.conf"
log_info "$func:${LINENO}: device.conf at $printer_conf"
readonly opkg_cmds_file="${customer_base_dir}/etc/psa_update/opkg_commands"
log_info "$func:${LINENO}: opkg_cmds_file at $opkg_cmds_file"
return 0
}
# read_config UpdateController.conf