Small USBMS fix for IPD

This commit is contained in:
Nicolas Mailloux 2023-06-17 09:49:07 -04:00
parent f2f945609d
commit 6bc3c41e03

View file

@ -200,7 +200,7 @@ void usbmsSplash::restartServices() {
// Checking for updates // Checking for updates
string_writeconfig("/opt/ibxd", "update_inkbox_restart\n"); string_writeconfig("/opt/ibxd", "update_inkbox_restart\n");
QThread::msleep(2500); QThread::msleep(2500);
string_writeconfig("/tmp/in_usbms", "false"); QFile::remove("/tmp/in_usbms");
// GUI apps: update main JSON file // GUI apps: update main JSON file
string_writeconfig("/opt/ibxd", "gui_apps_start\n"); string_writeconfig("/opt/ibxd", "gui_apps_start\n");
while(true) { while(true) {