mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 99-run.sh
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Export variables #
|
||||
####################
|
||||
|
||||
echo "Exporting variables"
|
||||
bashio::log.info "Exporting variables"
|
||||
for k in $(bashio::jq "/data/options.json" 'keys | .[]'); do
|
||||
bashio::log.blue "$k"="$(bashio::config "$k")"
|
||||
export "$k"="$(bashio::config "$k")"
|
||||
@@ -12,6 +12,12 @@ done
|
||||
|
||||
echo ""
|
||||
|
||||
bashio::log.info "Running userscript"
|
||||
chmod +x /etc/transmission/userSetup.sh
|
||||
/./etc/transmission/userSetup.sh
|
||||
|
||||
echo ""
|
||||
|
||||
bashio::log.info "Starting app"
|
||||
|
||||
/./etc/openvpn/start.sh & echo "Starting nginx"
|
||||
|
||||
Reference in New Issue
Block a user