mirror of
https://github.com/Retropex/umbrel-apps.git
synced 2025-05-12 11:20:43 +02:00
to squash
This commit is contained in:
parent
7ee159d14e
commit
24bbc9c8d1
@ -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"
|
||||
fi
|
||||
|
||||
if jq -e '.api.admin_password' "$DATUM_CONFIG_FILE" > /dev/null; then
|
||||
echo "Admin password already set"
|
||||
else
|
||||
jq -e '.api.admin_password = "umbrel"' "$DATUM_CONFIG_FILE" > "$DATUM_CONFIG_FILE".tmp && mv "${DATUM_CONFIG_FILE}.tmp" "$DATUM_CONFIG_FILE"
|
||||
fi
|
||||
#update password
|
||||
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
|
||||
echo "DATUM configuration file not found. Installation incomplete."
|
||||
|
@ -66,11 +66,13 @@ gallery:
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
path: ""
|
||||
defaultPassword: ""
|
||||
deterministicPassword: true
|
||||
defaultUsername: umbrel
|
||||
releaseNotes: >-
|
||||
⚠️ 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
|
||||
|
Loading…
Reference in New Issue
Block a user