diff --git a/joal/rootfs/run.sh b/joal/rootfs/run.sh index a77f8272b..c7ec76238 100644 --- a/joal/rootfs/run.sh +++ b/joal/rootfs/run.sh @@ -60,9 +60,16 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log declare TOKEN TOKEN=$(bashio::config 'secret_token') -#UPSTREAM=$(bashio::config 'upstream') VERBOSE=$(bashio::config 'verbose') || true +# check password change + +if [ "$TOKEN" = "lrMY24Byhx" ]; then +bashio::log.warning "The token is still the default one, please change from addon options" +fi + +# download latest version + mv -f /data/joal/config.json / || true if [ $VERBOSE = true ]; then curl -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz")