adapted because of changes in read_config
This commit is contained in:
parent
fe52f263a8
commit
259b61cda5
@ -375,6 +375,9 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
current_settings_to_ismas () {
|
||||
local func="${FUNCNAME[0]}"
|
||||
local p=("$@")
|
||||
|
||||
return 0
|
||||
|
||||
local data="#M=APISM#C=CMD_SENDVERSION#J=
|
||||
{
|
||||
\"VERSION_INFO\" : {
|
||||
@ -382,7 +385,7 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
\"HASH\":\"$(compute_hash)\"
|
||||
},
|
||||
\"TARIFF\": {
|
||||
$(<$TARIFF_CURRENT_FULL)
|
||||
$(<$TC_PSA_TC_FILE)
|
||||
},
|
||||
\"HARDWARE\" : {
|
||||
\"DEVICES\" : [
|
||||
@ -399,8 +402,8 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
|
||||
sed -E -e 's/.*:\s*(.*)/\1/g')\"
|
||||
},
|
||||
\"DC\" : {
|
||||
\"VERSION\" : \"$(cat $UPDATE_CONF | jq -r .dc.version)\",
|
||||
\"MD5SUM\" : \"$(cat $UPDATE_CONF | jq -r .dc.dc2c)\"
|
||||
\"VERSION\" : \"$(cat $PSA_UPDATE_CONF | jq -r .dc.version)\",
|
||||
\"MD5SUM\" : \"$(cat $PSA_UPDATE_CONF | jq -r .dc.dc2c)\"
|
||||
},
|
||||
\"PRINTER\" : {
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user