mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
uxlaunch:
- add init script for starting xorg session
This commit is contained in:
parent
247f5ebe61
commit
6594c3d1dd
19
packages/sysutils/uxlaunch/init.d/60_uxlaunch
Normal file
19
packages/sysutils/uxlaunch/init.d/60_uxlaunch
Normal 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
|
Loading…
x
Reference in New Issue
Block a user