From 59a17acf88d9965f46b4d1d834da2a14474b7a8f Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Wed, 8 Oct 2025 20:41:29 -0400 Subject: [PATCH] Reboot when signaled by installer --- configs/airootfs/root/.automated_script.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/airootfs/root/.automated_script.sh b/configs/airootfs/root/.automated_script.sh index 3d459be..fa21979 100644 --- a/configs/airootfs/root/.automated_script.sh +++ b/configs/airootfs/root/.automated_script.sh @@ -29,6 +29,11 @@ install_arch() { install_omarchy() { chroot_bash -lc "sudo pacman -S --noconfirm --needed gum" >/dev/null chroot_bash -lc "source /home/$OMARCHY_USER/.local/share/omarchy/install.sh || bash" + + # Reboot if requested by installer + if [[ -f /mnt/var/tmp/omarchy-install-completed ]]; then + reboot + fi } # Set Tokyo Night color scheme for the terminal