to squash

This commit is contained in:
Léo Haf 2025-03-25 14:12:31 +01:00
parent 7ee159d14e
commit 24bbc9c8d1
Signed by: Retropex
GPG Key ID: F5073C4F4882FFFC
2 changed files with 6 additions and 7 deletions

View File

@ -51,11 +51,8 @@ if [ -f "${DATUM_CONFIG_FILE}" ]; then
jq -e '.api.modify_conf = true' "$DATUM_CONFIG_FILE" > "$DATUM_CONFIG_FILE".tmp && mv "${DATUM_CONFIG_FILE}.tmp" "$DATUM_CONFIG_FILE" jq -e '.api.modify_conf = true' "$DATUM_CONFIG_FILE" > "$DATUM_CONFIG_FILE".tmp && mv "${DATUM_CONFIG_FILE}.tmp" "$DATUM_CONFIG_FILE"
fi fi
if jq -e '.api.admin_password' "$DATUM_CONFIG_FILE" > /dev/null; then #update password
echo "Admin password already set" jq --arg password "${APP_PASSWORD}" '.api.admin_password = $password' "$DATUM_CONFIG_FILE" > "$DATUM_CONFIG_FILE".tmp && mv "${DATUM_CONFIG_FILE}.tmp" "$DATUM_CONFIG_FILE"
else
jq -e '.api.admin_password = "umbrel"' "$DATUM_CONFIG_FILE" > "$DATUM_CONFIG_FILE".tmp && mv "${DATUM_CONFIG_FILE}.tmp" "$DATUM_CONFIG_FILE"
fi
else else
echo "DATUM configuration file not found. Installation incomplete." echo "DATUM configuration file not found. Installation incomplete."

View File

@ -66,11 +66,13 @@ gallery:
- 2.jpg - 2.jpg
- 3.jpg - 3.jpg
path: "" path: ""
defaultPassword: "" deterministicPassword: true
defaultUsername: umbrel
releaseNotes: >- releaseNotes: >-
⚠️ Don't forget to add you bitcoin address in the config tab otherwise datum won't start. ⚠️ Don't forget to add you bitcoin address in the config tab otherwise datum won't start.
The user is "admin" and the default password "umbrel". The user and the password will be shown is the datum app store page.".
- New config Tab - New config Tab