Index: sources/storage/StorageGlobals.cpp =================================================================== diff -u -rf724589acaa51725f5e5f8a746404d01804efbcf -rf8c7febe2e4131b8c7e68fd9849027ba8596dbc6 --- sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision f724589acaa51725f5e5f8a746404d01804efbcf) +++ sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision f8c7febe2e4131b8c7e68fd9849027ba8596dbc6) @@ -86,7 +86,11 @@ #ifdef BUILD_FOR_TARGET //WARNING: This has to match with the crypt_setup.sh const char *Settings_Path_Init = "/home/root/.config/"; // this is the manufacturing or update setup and the user is root. - const char *Settings_Path_Name = "/var/configurations/"; + #ifdef LEAHI_DIGI_BOARD + const char *Settings_Path_Name = "/mnt/data/configurations/"; + #else + const char *Settings_Path_Name = "/var/configurations/"; + #endif #else // should be in the project application folder. [is tracking by git] const char *Settings_Path_Init = "/home/denali/Projects/application/resources/settings/"; @@ -109,7 +113,11 @@ // CloudSync credentials #ifdef BUILD_FOR_TARGET - const char *CloudSync_Base_Path_Name = gUseRootHome ? "/home/root/.cloudSync/" : "/var/configurations/CloudSync/"; + #ifdef LEAHI_DIGI_BOARD + const char *CloudSync_Base_Path_Name = gUseRootHome ? "/home/root/.cloudSync/" : "/mnt/data/configurations/CloudSync/"; + #else + const char *CloudSync_Base_Path_Name = gUseRootHome ? "/home/root/.cloudSync/" : "/var/configurations/CloudSync/"; + #endif #else // on VM it is a temporary file which is not being tracked const char *CloudSync_Base_Path_Name = "/home/denali/Desktop/CloudSync/"; @@ -190,8 +198,11 @@ // Device Lockdown const char *Device_Lockdown = "lockdown.sh"; +#ifdef LEAHI_DIGI_BOARD + const char *CloudSyncPath = "/mnt/data/configurations/CloudSync/credentials/"; +#else const char *CloudSyncPath = "/var/configurations/CloudSync/credentials/"; - +#endif // USB unmount/ mount const char *USB_Unmount = "usb_unmount.sh"; const char *USB_Mount = "usb_mount.sh";