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

8 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