mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 06:04:40 +00:00
prepare runtime loop
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
e75b3f98a6
commit
f754a217f4
12 changed files with 386 additions and 44 deletions
|
|
@ -4,10 +4,11 @@ set -euo pipefail
|
|||
|
||||
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
env_file="$repo_root/.env.agent"
|
||||
example_env_file="$repo_root/.env.agent.example"
|
||||
|
||||
if [[ ! -f "$env_file" ]]; then
|
||||
cp "$example_env_file" "$env_file"
|
||||
# shellcheck disable=SC1091
|
||||
source "$repo_root/scripts/lib/agent-env.sh"
|
||||
betternas_write_agent_env_file "$env_file" "$repo_root"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue