mountKey.clear();
//For smackfsroot, smackfsdef option without CAP_MAC_ADMIN
- runtime::File fileToTouch("/tmp/.ode-mount-external");
+ runtime::File fileToTouch("/run/.ode-mount-external");
try {
fileToTouch.remove();
} catch(runtime::Exception &e) {}
::vconf_set_str(EXTERNAL_STATE_VCONF_KEY, "encrypted");
//For smackfsroot, smackfsdef option without CAP_MAC_ADMIN
- runtime::File fileToTouch("/tmp/.ode-mount-external");
+ runtime::File fileToTouch("/run/.ode-mount-external");
try {
fileToTouch.remove();
} catch(runtime::Exception &e) {}
void stopDependedSystemdServices()
{
- runtime::File fileToTouch("/tmp/.ode-umount-internal");
+ runtime::File fileToTouch("/run/.ode-umount-internal");
try {
fileToTouch.remove();
} catch(runtime::Exception &e) {}
}
void showProgressUI(const std::string type) {
- runtime::File fileToTouch("/tmp/.ode-progress-internal@" + type);
+ runtime::File fileToTouch("/run/.ode-progress-internal@" + type);
try {
fileToTouch.remove();
} catch(runtime::Exception &e) {}
[Path]
-PathExists=/tmp/.ode-mount-external
+PathExists=/run/.ode-mount-external
[Path]
-PathExists=/tmp/.ode-progress-internal@Decrypting
+PathExists=/run/.ode-progress-internal@Decrypting
[Path]
-PathExists=/tmp/.ode-progress-internal@Encrypting
+PathExists=/run/.ode-progress-internal@Encrypting
[Path]
-PathExists=/tmp/.ode-umount-internal
+PathExists=/run/.ode-umount-internal