Update 99-run.sh

This commit is contained in:
Alexandre
2022-12-14 14:28:23 +01:00
committed by GitHub
parent 67a4fd10c5
commit 22e9299203

View File

@@ -19,6 +19,14 @@ if [ -f /data/config.yaml ] && [ ! -L /data/config.yaml ]; then
mv /data/config.yaml "$CONFIGSOURCE".bak
fi
###################
# Migrate folders #
###################
if [ -f /config/enedisgateway2mqtt/config.yaml ]; then
mv /config/enedisgateway2mqtt/ "$(dirname "${CONFIGSOURCE}")"/
fi
############
# DATABASE #
############