mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
Update run
This commit is contained in:
@@ -25,7 +25,7 @@ CURRENTPASSWORD=$( cat /data/portainer_password )
|
|||||||
if bashio::fs.file_exists "/data/hidden"; then
|
if bashio::fs.file_exists "/data/hidden"; then
|
||||||
if [ "$CURRENTPASSWORD" != "$PASSWORD" ]; then
|
if [ "$CURRENTPASSWORD" != "$PASSWORD" ]; then
|
||||||
rm /data/portainer.db || true
|
rm /data/portainer.db || true
|
||||||
rm data/hidden || true
|
rm /data/hidden || true
|
||||||
bashio::log.warning "... password changed, database reseted"
|
bashio::log.warning "... password changed, database reseted"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user