--- 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);
+
+ //Start of MythVantage delay for ultra cool startup
+   printf("***\n");   
+   int ret = 1 ;
+ 
+   //checking for fname
+   int result;
+   const char *filename = "/tmp/nofe";
+   result = access (filename, F_OK);
+   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;
+     for (i = 0; i < 20; i++)
+     {
+       
+        sleep(1);
+        ret = system("xwininfo -name \"MythTV Frontend\" 2>/dev/null >/dev/null " );
+        if ( ret == 0 )
+            break;
+     }
+     if ( ret != 0 )
+      printf("Couldn't find mythfrontend, starting anyhow \n");
+     else
+       printf("MythFrontned found, continue startup\n");
+   } 
+   // End of delay code
+
+
    AnimatorAdd(doStartupWindowsOpen, NULL);
 }