Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 464 Bytes
#!/bin/sh
#Read lts.conf for variables
. /usr/share/ltsp/ltsp_config
#. /usr/share/ltsp/screen-x-common
# xfreerdp segfaults if HOME is unset.
#export HOME=${HOME:-/root}
zenity --text-info --title=$WELCOME_TITLE --width=$WELCOME_WIDTH --height=$WELCOME_HEIGHT --html --url=$WELCOME_URL
if [ "$?" -eq "0" ]
then
chvt $WELCOME_OKVT
#/usr/share/ltsp/screen.d/boxen/guimenu
#/usr/share/ltsp/screen.d/boxen/xfreerdp-prompt
else
chvt $WELCOME_CANCELVT
fi