File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ void encryptionManager::repackEncryptedStorage() {
351351 std::string passphrase = global::encfs::passphrase.toStdString ();
352352 global::encfs::passphrase = " " ;
353353 string_writeconfig (" /external_root/run/encfs/encrypted_storage_repack_passphrase" , passphrase);
354- string_writeconfig (" /external_root/run/encfs_dry_stop " , " true " );
354+ QFile::remove (" /external_root/run/openrc/started/encfs " );
355355 string_writeconfig (" /opt/ibxd" , " encfs_restart\n " );
356356 bool exitStatus;
357357 ui->activityWidget ->setCurrentIndex (3 );
Original file line number Diff line number Diff line change @@ -70,9 +70,13 @@ void usbms_splash::usbms_launch()
7070 if (global::usbms::koboxExportExtensions == true ) {
7171 string_writeconfig (" /opt/ibxd" , " kobox_extensions_storage_unmount\n " );
7272 }
73- else {
74- string_writeconfig (" /opt/ibxd" , " onboard_unmount\n " );
73+ if (checkconfig (" /external_root/run/encfs_mounted" ) == true ) {
74+ string_writeconfig (" /external_root/run/encfs_stop_cleanup" , " true" );
75+ string_writeconfig (" /opt/ibxd" , " encfs_stop\n " );
76+ QThread::msleep (1500 );
7577 }
78+
79+ string_writeconfig (" /opt/ibxd" , " onboard_unmount\n " );
7680 QThread::msleep (500 );
7781
7882 string_writeconfig (" /opt/ibxd" , " usbnet_stop\n " );
You can’t perform that action at this time.
0 commit comments