Revert "chmod +x scripts"

This reverts commit 3351e5b29c.
This commit is contained in:
Alexandre
2022-06-15 21:03:13 +02:00
parent 27bb72ef76
commit 42bef66f08
218 changed files with 9448 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#!/usr/bin/bashio
####################
# Export 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")"
done
echo ""
#######################
# Run haugene scripts #
#######################
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 ""
#################
# Allow ingress #
#################
bashio::net.wait_for 9091 localhost 900
bashio::log.info "Ingress ready"
exec nginx