Write Git info to tmpfs

This commit is contained in:
Nicolas Mailloux 2022-02-21 23:32:32 -05:00
parent 4aa7f8f59a
commit 4fb815d4e6

View file

@ -564,6 +564,11 @@ MainWindow::MainWindow(QWidget *parent)
reboot(true);
}
// Write version control info to file in tmpfs
if(checkconfig("/opt/inkbox_genuine") == true) {
string_writeconfig("/external_root/run/inkbox_gui_git_commit", GIT_VERSION);
}
}
MainWindow::~MainWindow()