added several new global variables: update_conf, ...
This commit is contained in:
parent
094580e294
commit
cb0586fb6b
20
read_config
20
read_config
@ -59,13 +59,27 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
||||
|
||||
log_info "$func:${LINENO}: customer-location-dir is $customer_location_dir"
|
||||
|
||||
readonly customer_base_dir="${__customer_base_dir}/${zone_group}/${zone}"
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
log_info "$func:${LINENO}: opkg_cmds_file is $opkg_cmds_file"
|
||||
return 0
|
||||
}
|
||||
# read_config UpdateController.conf
|
||||
|
Loading…
Reference in New Issue
Block a user