#!/usr/bin/env bash
# Clusev themed MOTD — printed at host login (Debian/Ubuntu run-parts MOTD).
# Installed by install.sh; __CLUSEV_URL__ is substituted with the live access URL.
# Signal-orange brand, hairline rule, no emoji. Idempotent: install.sh only ever
# overwrites this single 00-clusev file, never other MOTD parts.
O=$'\033[38;5;208m'   # signal-orange (brand)
D=$'\033[2m'          # dim
B=$'\033[1m'          # bold
R=$'\033[0m'          # reset
printf '%s\n' ""
printf '  %s%sClus%sev%s  %s· Fleet Control%s\n' "$B" "$O" "$R$B" "$R" "$D" "$R"
printf '  %s--------------------------------------%s\n' "$D" "$R"
printf '  Dashboard: %s%s%s\n' "$O" "__CLUSEV_URL__" "$R"
printf '  %sverwaltet vom Benutzer clusev  ·  docker compose -f docker-compose.prod.yml ps%s\n' "$D" "$R"
printf '%s\n' ""
