This commit is contained in:
Santiago Lo Coco 2022-01-04 18:40:06 -03:00
parent ca0b87ea78
commit f3329f3fa7
1 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ getDotfiles() {
chsh -s $(which zsh) chsh -s $(which zsh)
} }
checkForGraphicalInterface() { checkForSystemdUnits() {
trap 'systemctl stop reflector; forceExit=true' INT trap 'systemctl stop reflector; forceExit=true' INT
calcHeightAndRun "whiptail --infobox \"Waiting for systemd units to finish ('reflector.service'). This may take a while, please wait.\" HEIGTH 61" calcHeightAndRun "whiptail --infobox \"Waiting for systemd units to finish ('reflector.service'). This may take a while, please wait.\" HEIGTH 61"
journalctl --sync journalctl --sync
@ -515,7 +515,7 @@ runScript() {
if [ $i -gt 0 ]; then if [ $i -gt 0 ]; then
welcomeMsg="Welcome back to CocoASAIS!" welcomeMsg="Welcome back to CocoASAIS!"
else else
checkForGraphicalInterface checkForSystemdUnits
welcomeMsg="Welcome to CocoASAIS!" welcomeMsg="Welcome to CocoASAIS!"
fi fi