Skip to content

Commit

Permalink
Fix gui module to set systemd to boot to graphical.target
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Jul 18, 2024
1 parent 12d9a50 commit d147021
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/gui/end_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ systemctl enable update_lightdm_conf.service
# set the gui to run the main script of the GUI session
sed -i "s@GUI_SESSION_PLACEHOLDEFR@${GUI_STARTUP_SCRIPT}@g" /opt/custompios/scripts/start_gui

# Set the boot target to use a gui
systemctl set-default graphical.target

rm -r /usr/sbin/policy-rc.d || true

0 comments on commit d147021

Please sign in to comment.