Extract the reboot segment into its own file

This commit is contained in:
David Heinemeier Hansson
2025-08-31 15:41:32 +02:00
parent 7a9499eb66
commit 4bdbb06cfc
2 changed files with 15 additions and 12 deletions

View File

@@ -54,15 +54,4 @@ source $OMARCHY_INSTALL/login/limine-snapper.sh
source $OMARCHY_INSTALL/login/alt-bootloaders.sh
# Reboot
clear
tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch
echo
echo "You're done! So we're ready to reboot now..." | tte --frame-rate 640 wipe
if sudo test -f /etc/sudoers.d/99-omarchy-installer; then
sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null
echo -e "\nRemember to remove USB installer!\n\n"
fi
sleep 5
reboot
source $OMARCHY_INSTALL/reboot.sh