paroli should wait until the xserver (and window manager) started
[openwrt/svn-archive/archive.git] / phone / paroli / files / paroli.init
index aea1635d808488fe49fdd8625fd5b68105859f16..b97b882785b7a2c6c1ca411edfb61735d206f6f8 100644 (file)
@@ -3,7 +3,7 @@
 START=99
 
 start() {
 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() {
 }
     
 stop() {