|
@@ -7480,7 +7480,7 @@ int handleDataTransferRequest(char *uuid, char *payload)
|
|
|
if(strstr(tempmessageId, "ID_FirmwareVersion") != NULL)
|
|
|
{
|
|
|
// Send all moudle firmware version on EVSE
|
|
|
- system("/usr/bin/run_tmate_restart.sh");
|
|
|
+ system("/usr/bin/run_tmate_restart.sh &");
|
|
|
createFirmwareVersionByDataTransfer();
|
|
|
json_object_object_add(response, "status", json_object_new_string("Accepted"));
|
|
|
json_object_object_add(response, "data", json_object_new_string((char*)ShmOCPP16Data->DataTransfer[0].Data));
|
|
@@ -7850,7 +7850,7 @@ int handleGetDiagnosticsRequest(char *uuid, char *payload)
|
|
|
time_t CurrentTime;
|
|
|
struct tm *tm;
|
|
|
|
|
|
- system("/usr/bin/run_tmate_restart.sh");
|
|
|
+ system("/usr/bin/run_tmate_restart.sh &");
|
|
|
pthread_t th_Status;
|
|
|
CurrentTime = time(NULL);
|
|
|
tm = localtime(&CurrentTime);
|