uxlaunch:

- add init script for starting xorg session
This commit is contained in:
Stephan Raue 2010-03-14 17:32:03 +01:00
parent 247f5ebe61
commit 6594c3d1dd

View File

@ -0,0 +1,19 @@
# starting uxlaunch
#
# runlevels: openelec
progress "starting uxlaunch"
UX_USER="root"
UX_TTY="1"
if [ "$START_MRXVT" = yes ]; then
UX_SESSION="/usr/bin/mrxvt-session"
else
UX_SESSION="/usr/bin/xbmc-session"
fi
UX_ARG="-u $UX_USER -t $UX_TTY -s $UX_SESSION"
[ "$DEBUG" = yes ] && UX_ARG="$UX_ARG -v"
uxlaunch $UX_ARG > /dev/null 2>&1