Merge pull request #7831 from Security-Onion-Solutions/awlocal

Remove setup from auto starting if you choose to not enter the grid
This commit is contained in:
Mike Reeves
2022-04-20 14:42:58 -04:00
committed by GitHub

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