From 739f4c4f5dac71c110d5dac8044428d4639789ed Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 13 Dec 2022 08:04:12 +0100 Subject: [PATCH] Change Config Logic https://github.com/alexbelgium/hassio-addons/issues/597 --- epicgamesfree/rootfs/etc/cont-init.d/99-run.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh index c369410ef..f688251b3 100644 --- a/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh +++ b/epicgamesfree/rootfs/etc/cont-init.d/99-run.sh @@ -14,14 +14,6 @@ if [ ! -f "$HOME"/config.json ]; then bashio::exit.nok fi -# Make symlink for cookies -bashio::log.info "The following json files were found in $HOME and will be used in the app. Changing those files will require to restart the addon." -cd "$HOME" || true -for i in *.json; do # Whitespace-safe but not recursive. - echo "... processing $i" - cp "$i" /usr/app/config -done - # Permissions chmod -R 777 "$HOME" @@ -33,6 +25,4 @@ echo " " bashio::log.info "Starting the app" echo " " -cd /usr/app/config || true - -#/./usr/local/bin/docker-entrypoint.sh +cd "/usr/app/config" || true