paroli should wait until the xserver (and window manager) started
authorMirko Vogt <[email protected]>
Thu, 15 Jan 2009 11:31:49 +0000 (11:31 +0000)
committerMirko Vogt <[email protected]>
Thu, 15 Jan 2009 11:31:49 +0000 (11:31 +0000)
SVN-Revision: 14042

phone/paroli/files/paroli.init

index aea1635d808488fe49fdd8625fd5b68105859f16..b97b882785b7a2c6c1ca411edfb61735d206f6f8 100644 (file)
@@ -3,7 +3,7 @@
 START=99
 
 start() {
-    LD_PRELOAD=/usr/lib/libX11.so /usr/bin/paroli-launcher & # LD_PRELOAD to workaround some runtime linking problems - needs to be fixed
+    (sleep 10 && DISPLAY=":0" LD_PRELOAD=/usr/lib/libX11.so /usr/bin/paroli-launcher) & # sleep to wait until the xserver is started | LD_PRELOAD to workaround some runtime linking problems - needs to be fixed
 }
     
 stop() {