mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-27 16:17:21 -08:00
Stop EncFS service before launching KoBox
This commit is contained in:
parent
035ab14e5f
commit
a7e04fd2d6
1 changed files with 7 additions and 1 deletions
|
@ -169,6 +169,12 @@ void koboxAppsDialog::on_launchBtn_clicked()
|
|||
usbmsSplashWindow->show();
|
||||
QApplication::processEvents();
|
||||
|
||||
// Stop EncFS/Encrypted storage
|
||||
if(checkconfig("/external_root/run/encfs_mounted") == true) {
|
||||
string_writeconfig("/external_root/run/encfs_stop_cleanup", "true");
|
||||
string_writeconfig("/opt/ibxd", "encfs_stop\n");
|
||||
}
|
||||
|
||||
// Write to FIFO to start X11
|
||||
string_writeconfig("/opt/ibxd", "x_start_gui\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue