Index: sources/storage/StorageGlobals.cpp =================================================================== diff -u -rd9b9df9b23da89b4c27f4672ff6e7f570adcc48a -rf78d9bb9892d87e0985b22236b07a96fef14e5c2 --- sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision d9b9df9b23da89b4c27f4672ff6e7f570adcc48a) +++ sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision f78d9bb9892d87e0985b22236b07a96fef14e5c2) @@ -101,8 +101,13 @@ #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_Init = "/opt/leahi/configurations/"; // this is the manufacturing or update setup and the user is root. + const char *Settings_Path_Name = "/mnt/data/configurations/"; + #else + 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/"; + #endif #else // should be in the project application folder. [is tracking by git] const char *Settings_Path_Init = "/home/denali/Projects/application/resources/settings/"; @@ -129,7 +134,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/"; @@ -210,8 +219,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";