make X display a openwrt backgrund image
[openwrt/svn-archive/archive.git] / XOrg / meta / xorg-server-essentials / files / xinitrc
index bb0a0e96ee85812b04dcf6a9c60cbf5b6d5a8355..74b22ddccf27c68e23d193d4ba4abaabe5ff87c6 100644 (file)
@@ -1 +1,5 @@
+BKGD_IMAGE_PATH=/usr/share/X11/bkgd-images/
+if [ -x `which Esetroot` ]; then
+       Esetroot -scale ${BKGD_IMAGE_PATH}/default.png
+fi
 fluxbox
 fluxbox