allow xfce4 restart on local image

This commit is contained in:
Tobias Powalowski 2022-05-12 08:10:44 +02:00
parent dd77fbe079
commit 4115465c73

View file

@ -80,6 +80,7 @@ fi
# Launch xfce
if [[ "${_L_XFCE}" == "1" ]]; then
if ! [[ -e /usr/bin/startxfce4 ]]; then
echo -e "\033[1mStep 1/5:\033[0m Waiting for gpg pacman keyring import to finish ..."
_gpg_check
echo -e "\033[1mStep 2/5:\033[0m Installing XFCE desktop now ..."
@ -90,6 +91,7 @@ if [[ "${_L_XFCE}" == "1" ]]; then
echo -e "\033[1mStep 4/5:\033[0m Starting avahi-daemon ..."
systemctl start avahi-daemon.service
echo -e "\033[1mStep 5/5:\033[0m Launching XFCE logging is done on \033[1m/dev/tty8\033[0m ..."
fi
startxfce4 >/dev/tty8 2>&1
echo -e "To relaunch XFCE desktop use: \033[92mstartxfce4\033[0m"
fi