Update path to search for post boot installation 82/264682/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.093731 accepted/tizen/7.0/unified/20221110.062908 accepted/tizen/7.0/unified/hotfix/20221116.104401 accepted/tizen/8.0/unified/20231005.092443 accepted/tizen/unified/20210928.124704 accepted/tizen/unified/dev/20240620.003151 submit/tizen/20210928.082729 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorKarthik <kv.bhat@samsung.com>
Tue, 28 Sep 2021 07:17:23 +0000 (12:47 +0530)
committerKarthik <kv.bhat@samsung.com>
Tue, 28 Sep 2021 07:17:23 +0000 (12:47 +0530)
Change-Id: Ifeb519a0070f4ed7ea3cc97ec008ecf61d69ea08
Signed-off-by: Karthik <kv.bhat@samsung.com>
src/emuld.cpp

index 1e1df8bb25ef877c6c796f2613bb8ff299b8c314..60a511a95a96af5787f8f3096d162bbbf16386f2 100644 (file)
@@ -148,7 +148,7 @@ static void run_postboot_script(char* fileName) {
     int ret = -1;
     char file_name[MAX_PKGS_BUF];
     char launch_buf[MAX_PKGS_BUF + 2];
-    snprintf(file_name, sizeof(file_name), "/home/owner/share/tmp/.emul-scripts/%s", fileName); 
+    snprintf(file_name, sizeof(file_name), "/home/owner/share/.emul-scripts/%s", fileName);
     LOGINFO("[run_postboot_script] called %s\n",file_name);
     ret = access(file_name, F_OK);
     if (ret != 0)
@@ -174,7 +174,7 @@ static void run_postboot_scripts()
 {
     DIR *d;
     struct dirent *dir;
-    d = opendir("/home/owner/share/tmp/.emul-scripts/");
+    d = opendir("/home/owner/share/.emul-scripts/");
     if (d)
     {
         while ((dir = readdir(d)) != NULL)