Remove setup from auto starting if you choose to not enter the grid

This commit is contained in:
Mike Reeves
2022-04-20 14:36:38 -04:00
parent 3aac644da5
commit c3952e94c8

View File

@@ -102,6 +102,9 @@ if [[ $is_analyst ]]; then
if ! whiptail_analyst_install; then
if [[ $is_analyst_iso ]]; then
if whiptail_analyst_nongrid_iso; then
# Remove setup from auto launching
parse_install_username
sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile >> "$setup_log" 2>&1
echo "Enabling graphical interface and setting it to load at boot"
systemctl set-default graphical.target
startx