req: internal NVMe boot required, all paths consolidated on flash

Plugin folder /boot/config/plugins/varaverk is the single home for
scripts, data, and state. Available at boot before array mounts.
USB boot is not a supported configuration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gmer4Lfe
2026-05-31 13:38:52 -04:00
co-authored by Claude Sonnet 4.6
parent 5234b79210
commit da699b54fa
2 changed files with 8 additions and 9 deletions
+2 -4
View File
@@ -87,12 +87,10 @@ SCRIPTS_DIR="$CFG_DIR"
CONF_DIR="$SCRIPTS_DIR/Configurations"
# Seed varaverk.cfg with defaults (SCRIPTS_DIR + Gitea settings) if not present.
# Default SCRIPTS_DIR is appdata — safe for USB boot users.
# Users with NVMe/SSD boot can change this to /boot/config/plugins/varaverk
# so scripts are available before the array mounts.
# Requires internal NVMe/SSD boot — scripts live on flash, available before array mounts.
if [[ ! -f "$CFG_FILE" ]]; then
cat > "$CFG_FILE" <<'CFGEOF'
SCRIPTS_DIR="/mnt/user/appdata/Varaverk"
SCRIPTS_DIR="/boot/config/plugins/varaverk"
GITEA_CONTAINER="Gitea"
GITEA_REPO_PATH="FailedProxy/Varaverk.git"
GITEA_SSH_KEY="/root/.ssh/unraid_gitea"