From 5062527ae1c2633556a4fb61d068cf4cc3ac6989 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 17 Nov 2021 23:49:48 +0100 Subject: [PATCH] Update 99-run.sh --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index c51426cd2..7fe5b1092 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -50,7 +50,7 @@ fi # Check if database is here or create symlink if [ -f $DATABASESOURCE ]; then - ln -s $CONFIGSOURCE /data + ln -s ${DATABASESOURCE} /data bashio::log.info "Using database file found in $DATABASESOURCE" else # Create symlink for addon to create database