mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
Add callback handler for bookconfig_mount
Sorry for the date mess, I'm in a car and sometimes my homebrew Raspberry Pi 400/Kindle computer-screen-keyboard breaks and reboots, thus resetting the date.
This commit is contained in:
parent
f895a368ac
commit
df5791ce44
1 changed files with 6 additions and 0 deletions
|
@ -174,6 +174,12 @@ reader::reader(QWidget *parent) :
|
|||
|
||||
// Calling InkBox daemon (ibxd) via FIFO interface to run bookconfig_mount
|
||||
string_writeconfig("/opt/ibxd", "bookconfig_mount\n");
|
||||
// Callback handler to wait until bookconfig_mount has finished execution
|
||||
while(true) {
|
||||
if(QFile::exists("/inkbox/bookConfigSetUp")) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Custom settings
|
||||
// Font
|
||||
|
|
Loading…
Reference in a new issue