#!/bin/sh . /etc/profile # PATH HOME=/root # ??? # on x86* we usually could use Xvesa, otherwise we rather need Xfbdev if [ -d /sys/class/graphics/fb0 ]; then X="Xfbdev" else X="Xvesa -mode 0x117" fi cd $home xinit `which blackbox` -- `which $X` -mouse mouse,/dev/input/mice -keybd keyboard