use current_settings_to_ismaes()
This commit is contained in:
parent
da9f0a73a4
commit
3bbbe57c54
@ -12,20 +12,19 @@ trap collect_current_configuration EXIT
|
|||||||
|
|
||||||
collect_current_configuration () {
|
collect_current_configuration () {
|
||||||
local func="${FUNCNAME[0]}"
|
local func="${FUNCNAME[0]}"
|
||||||
echo $func
|
|
||||||
|
|
||||||
return 0
|
current_settings_to_ismas
|
||||||
|
|
||||||
for line in $(cat $UPDATE_CONF |\
|
#for line in $(cat $UPDATE_CONF |\
|
||||||
jq -r .conf.szeged.zg[1].z[1].etc.psa_config)
|
# jq -r .conf.szeged.zg[1].z[1].etc.psa_config)
|
||||||
do
|
#do
|
||||||
conf_file="$(echo $line |
|
# conf_file="$(echo $line |
|
||||||
sed -E -ne 's/^[^{}]\s+\"(DC2C_[[:alnum:]]+)\".*$/\1/gp')"
|
# sed -E -ne 's/^[^{}]\s+\"(DC2C_[[:alnum:]]+)\".*$/\1/gp')"
|
||||||
if ! [ -z $conf_file ]; then
|
# if ! [ -z $conf_file ]; then
|
||||||
local v=$(cat "$psa_config_dir/${conf_file}.json" | jq -r .version)
|
# local v=$(cat "$psa_config_dir/${conf_file}.json" | jq -r .version)
|
||||||
echo "$conf_file.json version=$v"
|
# echo "$conf_file.json version=$v"
|
||||||
fi
|
# fi
|
||||||
done
|
#done
|
||||||
}
|
}
|
||||||
|
|
||||||
update_psa() {
|
update_psa() {
|
||||||
|
Loading…
Reference in New Issue
Block a user