From f4f11f1ba9d5d3c79ca728e8d1a3af37d7c59886 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 14 Dec 2022 15:15:21 +0100 Subject: [PATCH] Revert "Update 99-run.sh" This reverts commit 22e92992036d0aa39dc91322c42f7baa82044613. --- enedisgateway2mqtt/rootfs/etc/cont-init.d/99-run.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/enedisgateway2mqtt/rootfs/etc/cont-init.d/99-run.sh b/enedisgateway2mqtt/rootfs/etc/cont-init.d/99-run.sh index 2aaeff9fd..df8d73cc7 100644 --- a/enedisgateway2mqtt/rootfs/etc/cont-init.d/99-run.sh +++ b/enedisgateway2mqtt/rootfs/etc/cont-init.d/99-run.sh @@ -19,14 +19,6 @@ 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 # ############