Set standalone to load Xwindows

This commit is contained in:
Mike Reeves
2022-03-29 17:23:38 -04:00
parent 86e32f3e6c
commit 67582be575
2 changed files with 6 additions and 8 deletions

View File

@@ -95,10 +95,7 @@ if [[ $is_analyst ]]; then
exit 1
fi
whiptail_analyst_install
echo "$AWORK"
if [[ $AWORK != "Join" ]]; then
if ! whiptail_analyst_install; then
# Lets make this a standalone
echo "Enabling X Windows and setting it to load at boot"
systemctl set-default graphical.target