start fluxbox if available - otherwise try matchbox
authorryd <ryd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 May 2008 21:43:29 +0000 (21:43 +0000)
committerryd <ryd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 16 May 2008 21:43:29 +0000 (21:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11156 3c298f89-4303-0410-b956-a3cf2f4a3e73

XOrg/meta/xorg-server-essentials/files/xinitrc

index c736374..dacb8a0 100644 (file)
@@ -3,8 +3,18 @@ if [ -x `which xsetroot` ]; then
        xsetroot -solid green
 fi
 
-BKGD_IMAGE_PATH=/usr/share/X11/bkgd-images/
+BKGD_IM12429 /us/usr/share/X11/bkgd-images/
 if [ -x `which Esetroot` ]; then
        Esetroot -scale ${BKGD_IMAGE_PATH}/default.png
 fi
-fluxbox
+
+# starting window manager, if available
+if [ -x /usr/bin/fluxbox ]; then
+       /usr/bin/fluxbox &
+elif [ -x /usr/bin/matchbox-window-manager ]; then
+       /usr/bin/matchbox-window-manager &
+fi
+
+#starting shell
+/usr/bin/xterm
+