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.patch21
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch
index 6e26f75..e24bde5 100644
--- a/abs/core/enlightenment/startup.patch
+++ b/abs/core/enlightenment/startup.patch
@@ -1,14 +1,14 @@
--- 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 @@
-
+@@ -173,5 +173,49 @@
+
Mode.place.enable_features--;
ESync(ESYNC_STARTUP);
+
+ //Start of MythVantage delay for ultra cool startup
-+ printf("***\n");
++ printf("***\n");
+ int ret = 1 ;
-+
++
+ //checking for fname
+ int result;
+ const char *filename = "/tmp/nofe";
@@ -21,7 +21,7 @@
+ filename_config = strcat(value , "/.configure");
+ result_config = access (filename_config, F_OK);
+
-+ if( result == 0 || result_config ==0 )
++ if( result == 0 || result_config ==0 )
+ {
+ printf("Found /tmp/nofe, skipping delay\n");
+ }
@@ -31,17 +31,20 @@
+ int i;
+ for (i = 0; i < 20; i++)
+ {
-+
++
+ sleep(1);
+ ret = system("xwininfo -name \"MythTV Frontend\" 2>/dev/null >/dev/null " );
+ if ( ret == 0 )
+ break;
++ ret = system("xwininfo -name \"mythwelcome\" 2>/dev/null >/dev/null " );
++ if ( ret == 0 )
++ break;
+ }
+ if ( ret != 0 )
-+ printf("Couldn't find mythfrontend, starting anyhow \n");
++ printf("Couldn't find mythfrontend/mythwelcome, starting anyhow \n");
+ else
-+ printf("MythFrontned found, continue startup\n");
-+ }
++ printf("MythFrontend or MythWelcome found, continue startup\n");
++ }
+ // End of delay code
+
+