mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-07 16:15:55 +02:00
Update run.txt
This commit is contained in:
@@ -56,12 +56,15 @@ if [ -f /app/frontend/Caddyfile ]; then
|
|||||||
echo "Caddyfile adapted"
|
echo "Caddyfile adapted"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#################
|
####################
|
||||||
# SET VARIABLES #
|
# Export variables #
|
||||||
#################
|
####################
|
||||||
|
|
||||||
PGID="$(bashio::config 'PGID')"
|
bashio::log.info "Exporting variables"
|
||||||
PUID="$(bashio::config 'PUID')"
|
for k in $(bashio::jq "/data/options.json" 'keys | .[]'); do
|
||||||
|
bashio::log.blue "$k"="$(bashio::config "$k")"
|
||||||
|
export "$k"="$(bashio::config "$k")"
|
||||||
|
done
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# PERMISSIONS #
|
# PERMISSIONS #
|
||||||
|
|||||||
Reference in New Issue
Block a user