mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-28 08:37:22 -08:00
Check for available updates upon end of USBMS session
This commit is contained in:
parent
852c1b4878
commit
bd3930b42f
1 changed files with 5 additions and 0 deletions
|
@ -126,11 +126,16 @@ void usbms_splash::usbms_launch()
|
||||||
proc->waitForFinished();
|
proc->waitForFinished();
|
||||||
proc->deleteLater();
|
proc->deleteLater();
|
||||||
|
|
||||||
|
// Restarting USBNet
|
||||||
// NOTE: USBNet is only started if required conditions are met (see https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/usbnet)
|
// NOTE: USBNet is only started if required conditions are met (see https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/usbnet)
|
||||||
string_writeconfig("/opt/ibxd", "usbnet_start\n");
|
string_writeconfig("/opt/ibxd", "usbnet_start\n");
|
||||||
QThread::msleep(1000);
|
QThread::msleep(1000);
|
||||||
|
// Mounting onboard storage
|
||||||
string_writeconfig("/opt/ibxd", "onboard_mount\n");
|
string_writeconfig("/opt/ibxd", "onboard_mount\n");
|
||||||
QThread::msleep(1000);
|
QThread::msleep(1000);
|
||||||
|
// Checking for updates
|
||||||
|
string_writeconfig("/opt/ibxd", "update_inkbox_restart");
|
||||||
|
QThread::msleep(2500);
|
||||||
|
|
||||||
quit_restart();
|
quit_restart();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue