Added some new vars
This commit is contained in:
parent
24ead237cc
commit
83b420acf2
12
read_config
12
read_config
@ -68,16 +68,20 @@ if [ ${read_config_sourced:-1} = "1" ]; then # include only once
|
|||||||
readonly customer_base_dir="${__customer_base_dir}/${zone_group}/${zone}"
|
readonly customer_base_dir="${__customer_base_dir}/${zone_group}/${zone}"
|
||||||
log_info "$func:${LINENO}: customer-base-dir is $customer_base_dir"
|
log_info "$func:${LINENO}: customer-base-dir is $customer_base_dir"
|
||||||
|
|
||||||
readonly emp_conf="${customer_base_dir}/etc/psa_config/emp.conf"
|
readonly psa_config="${customer_base_dir}/etc/psa_config"
|
||||||
|
readonly psa_update="${customer_base_dir}/etc/psa_update"
|
||||||
|
readonly psa_ini="${customer_base_dir}/etc/psa_ini"
|
||||||
|
|
||||||
|
readonly emp_conf="${psa_config}/emp.conf"
|
||||||
log_info "$func:${LINENO}: emp.conf at $emp_conf"
|
log_info "$func:${LINENO}: emp.conf at $emp_conf"
|
||||||
|
|
||||||
readonly device_conf="${customer_base_dir}/etc/psa_config/device.conf"
|
readonly device_conf="${psa_config}/device.conf"
|
||||||
log_info "$func:${LINENO}: device.conf at $device_conf"
|
log_info "$func:${LINENO}: device.conf at $device_conf"
|
||||||
|
|
||||||
readonly printer_conf="${customer_base_dir}/etc/psa_config/printer.conf"
|
readonly printer_conf="${psa_config}/printer.conf"
|
||||||
log_info "$func:${LINENO}: device.conf at $printer_conf"
|
log_info "$func:${LINENO}: device.conf at $printer_conf"
|
||||||
|
|
||||||
readonly opkg_cmds_file="${customer_base_dir}/etc/psa_update/opkg_commands"
|
readonly opkg_cmds_file="${psa_update}/opkg_commands"
|
||||||
log_info "$func:${LINENO}: opkg_cmds_file at $opkg_cmds_file"
|
log_info "$func:${LINENO}: opkg_cmds_file at $opkg_cmds_file"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user