start fluxbox if available - otherwise try matchbox

git-svn-id: svn://svn.openwrt.org/openwrt/packages@11156 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ryd 2008-05-16 21:43:29 +00:00
parent 2c26076b6c
commit 55fcc95bbc

View 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