Files
RPS-Client/home/loginuser/.bash_profile

6 lines
95 B
Bash

if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]
then
startx -- -nocursor
exit
sudo reboot
fi