v3-revamp

This commit is contained in:
2026-07-06 16:29:38 +02:00
parent c2770f49ed
commit 9eff92a1bb
4 changed files with 34 additions and 38 deletions
+7 -8
View File
@@ -17,12 +17,11 @@ if [ ! -t 1 ]; then
RED="" GREEN="" YELLOW="" CYAN="" GRAY="" BOLD="" RESET=""
fi
color_yellow() { printf '%b' "$YELLOW"; }
color_cyan() { printf '%b' "$CYAN"; }
color_red() { printf '%b' "$RED"; }
color_green() { printf '%b' "$GREEN"; }
color_gray() { printf '%b' "$GRAY"; }
color_reset() { printf '%b' "$RESET"; }
color_yellow() { printf "%b%s%b\n" "$YELLOW" "$*" "$RESET"; }
color_cyan() { printf "%b%s%b\n" "$CYAN" "$*" "$RESET"; }
color_red() { printf "%b%s%b\n" "$RED" "$*" "$RESET"; }
color_green() { printf "%b%s%b\n" "$GREEN" "$*" "$RESET"; }
color_gray() { printf "%b%s%b\n" "$GRAY" "$*" "$RESET"; }
#------------------------------------------
# Use exported variables from main detection script
@@ -99,8 +98,8 @@ fi
#------------------------------------------
# 4. Enable Services
#------------------------------------------
color_cyan; echo "Enabling services..."; color_reset
color_cyan "Enabling services..."
sudo systemctl enable --now fstrim.timer
sudo systemctl enable --now chronyd || true
color_green; echo "Fedora Minimal setup completed."; color_reset
color_green "Fedora Minimal setup completed."