Relocate conf cache to more discrete paths

This commit is contained in:
Gmer4Lfe
2026-06-19 17:56:17 -04:00
parent 28d434b76c
commit 4749e5857c
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -99,12 +99,12 @@
fi
# ━━━ Source partner confs from /tmp cache ━━━
# conf_sync.sh pulls partner host*.conf files into /tmp/.vv/config/cached/.confs/
# conf_sync.sh pulls partner host*.conf files into /tmp/.cache/vv/d/
# on array start and after any conf save. Sourcing them here makes partner vars
# (HOST2_*, HOST3_*, …) available without committing credentials to the git repo
# or violating sparse checkout — partner confs live in RAM only, cleared on reboot.
# Confs already loaded from disk are skipped — disk copy is authoritative.
_VV_CONF_CACHE="/tmp/.vv/config/cached/.confs"
_VV_CONF_CACHE="/tmp/.cache/vv/d"
if [[ -d "$_VV_CONF_CACHE" ]]; then
while IFS= read -r _conf; do
[[ -f "$_conf" ]] || continue