A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
21 lines
428 B
Bash
21 lines
428 B
Bash
#!/bin/bash
|
|
|
|
SETUP_LOCK_FILE="${containers_dir}libreportal/frontend/data/.setup_complete"
|
|
|
|
isSetupWizardComplete()
|
|
{
|
|
[[ -f "$SETUP_LOCK_FILE" ]]
|
|
}
|
|
|
|
setupWizardMarkComplete()
|
|
{
|
|
sudo touch "$SETUP_LOCK_FILE" 2>/dev/null
|
|
sudo chown "$sudo_user_name:$sudo_user_name" "$SETUP_LOCK_FILE" 2>/dev/null
|
|
sudo chmod 644 "$SETUP_LOCK_FILE" 2>/dev/null
|
|
}
|
|
|
|
setupWizardReset()
|
|
{
|
|
sudo rm -f "$SETUP_LOCK_FILE" 2>/dev/null
|
|
}
|