mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Extract the reboot segment into its own file
This commit is contained in:
13
install.sh
13
install.sh
@@ -54,15 +54,4 @@ source $OMARCHY_INSTALL/login/limine-snapper.sh
|
|||||||
source $OMARCHY_INSTALL/login/alt-bootloaders.sh
|
source $OMARCHY_INSTALL/login/alt-bootloaders.sh
|
||||||
|
|
||||||
# Reboot
|
# Reboot
|
||||||
clear
|
source $OMARCHY_INSTALL/reboot.sh
|
||||||
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
|
|
||||||
|
|||||||
14
install/reboot.sh
Normal file
14
install/reboot.sh
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user