paroli should wait until the xserver (and window manager) started
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 11:31:49 +0000 (11:31 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 11:31:49 +0000 (11:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14042 3c298f89-4303-0410-b956-a3cf2f4a3e73

phone/paroli/files/paroli.init

index aea1635..b97b882 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() {