Do not ask to restart when setting screen type during gui install.

This commit is contained in:
Storm Dragon 2025-04-25 13:45:18 -04:00
parent e51940bf86
commit 3593fe6702
2 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,7 @@ case "${1}" in
*) session="$1";; *) session="$1";;
esac esac
./.includes/toggle-screen.sh ./.includes/toggle-screen.sh -n
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit
# GUI bluetooth manager # GUI bluetooth manager

View File

@ -51,9 +51,11 @@ answer=$(yesno "Do you have a physical screen attached?")
if [[ "${answer}" == "Yes" ]]; then if [[ "${answer}" == "Yes" ]]; then
active_screen active_screen
msgbox "Settings for physical screen applied." msgbox "Settings for physical screen applied."
restart
else else
headless headless
msgbox "Headless mode applied." restart
fi
if [[ "$1" != "-n" ]]; then
restart restart
fi fi