summaryrefslogtreecommitdiffstats
path: root/abs/core/enlightenment/startup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/enlightenment/startup.patch')
-rw-r--r--abs/core/enlightenment/startup.patch25
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch
index 136f848..6e26f75 100644
--- a/abs/core/enlightenment/startup.patch
+++ b/abs/core/enlightenment/startup.patch
@@ -1,6 +1,6 @@
---- src/startup.c.orig 2011-11-15 22:01:02.939243595 +0000
-+++ src/startup.c 2011-11-15 22:01:33.682575674 +0000
-@@ -173,5 +173,39 @@
+--- src/startup.orig 2012-04-29 21:43:59.424202996 +0000
++++ src/startup.c 2012-04-29 22:19:28.350782803 +0000
+@@ -173,5 +173,46 @@
Mode.place.enable_features--;
ESync(ESYNC_STARTUP);
@@ -13,8 +13,19 @@
+ int result;
+ const char *filename = "/tmp/nofe";
+ result = access (filename, F_OK);
-+
-+ if( result != 0 )
++ int result_config;
++ const char *homedir = "HOME";
++ char *value;
++ value = getenv(homedir);
++ char *filename_config;
++ filename_config = strcat(value , "/.configure");
++ result_config = access (filename_config, F_OK);
++
++ if( result == 0 || result_config ==0 )
++ {
++ printf("Found /tmp/nofe, skipping delay\n");
++ }
++ else
+ {
+ printf("Waiting for Mythfrontend\n");
+ int i;
@@ -31,10 +42,6 @@
+ else
+ printf("MythFrontned found, continue startup\n");
+ }
-+ else
-+ {
-+ printf("Found /tmp/nofe, skipping delay\n");
-+ }
+ // End of delay code
+
+