This commit is contained in:
root
2026-05-18 11:04:52 +00:00
parent efa5533032
commit 088a5a6429
6 changed files with 136 additions and 29 deletions

View File

@@ -26,13 +26,22 @@ MDNS_HOST="${HOSTNAME_ALIAS:-live}.local"
getent hosts "$MDNS_HOST" >/dev/null 2>&1 && echo "$MDNS_HOST resolves: yes" || echo "$MDNS_HOST resolves: fail"
section "config"
if [[ -f "$REPO/config/system-stack.env" ]]; then
echo "repo stack env: present ($REPO/config/system-stack.env)"
else
echo "repo stack env: missing"
fi
if [[ -f /opt/live/config/system.json ]]; then
echo "system.json: present"
elif [[ -f "$REPO/config/system-stack.env" ]]; then
echo "system.json: not used by repo-managed install"
else
echo "system.json: MISSING (run install-core)"
fi
if [[ -f /opt/live/generated/system-stack.env ]]; then
echo "generated env: present"
elif [[ -f "$REPO/config/system-stack.env" ]]; then
echo "generated env: repo-managed via config/system-stack.env"
else
echo "generated env: missing"
fi