pmaports/main/postmarketos-ui-xfce4/start_xfce4.sh

9 lines
153 B
Bash
Raw Normal View History

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