9 lines
153 B
Bash
9 lines
153 B
Bash
|
|
||
|
if [ "$(id -u)" = "12345" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||
|
startxfce4 > ~/x11.log 2>&1
|
||
|
|
||
|
# In case of failure, restart after 1s
|
||
|
sleep 1
|
||
|
exit
|
||
|
fi
|