8 lines
121 B
Bash
8 lines
121 B
Bash
if [ $(tty) == "/dev/tty1" ]; then
|
|
while true
|
|
do
|
|
startx
|
|
echo "X session ended, restarting..."
|
|
sleep 5
|
|
done
|
|
fi |