download jsons after sync

This commit is contained in:
Gerhard Hoffmann 2025-08-21 13:27:06 +02:00
parent 927b488582
commit 2c1afa463f

View File

@ -271,20 +271,18 @@ Worker::Worker(int customerNr,
QString("/opt/app/tools/atbupdate/ATBUpdateDC") QString("/opt/app/tools/atbupdate/ATBUpdateDC")
, this, ++next)); , this, ++next));
// *** send json files down to device controller ***
m_workList.push_back(
std::make_unique<UpdateJsonCommand>(
QString("echo ATBUpdateJsonFiles")
//QString("/opt/app/tools/atbupdate/ATBUpdateJsonFiles --set-ppid %1").arg(QCoreApplication::applicationPid())
, this, ++next, false));
// sync json files in repo etc-directory with /etc fs-directory // sync json files in repo etc-directory with /etc fs-directory
m_workList.push_back( m_workList.push_back(
std::make_unique<UpdateFileSystemCommand>( std::make_unique<UpdateFileSystemCommand>(
QString("echo ATBUpdateSync") QString("echo ATBUpdateSync")
, this, ++next)); , this, ++next));
// *** send json files down to device controller ***
m_workList.push_back(
std::make_unique<UpdateJsonCommand>(
//QString("echo ATBUpdateJsonFiles")
QString("/opt/app/tools/atbupdate/ATBUpdateJsonFiles --set-ppid %1").arg(QCoreApplication::applicationPid())
, this, ++next, false));
// show/send software-status // show/send software-status
m_workList.push_back( m_workList.push_back(