From 2257bdf20f2e2c5c5dc3755649c10bd988eaef81 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 22 Mar 2022 19:23:19 +0100 Subject: [PATCH] Update 99-configuration.sh --- .../rootfs/etc/cont-init.d/99-configuration.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/papermerge/rootfs/etc/cont-init.d/99-configuration.sh b/papermerge/rootfs/etc/cont-init.d/99-configuration.sh index c44b58f8b..7ec417a0c 100644 --- a/papermerge/rootfs/etc/cont-init.d/99-configuration.sh +++ b/papermerge/rootfs/etc/cont-init.d/99-configuration.sh @@ -1,10 +1,6 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash -# Symlink config - -ln -s /data/config/papermerge.conf.py /etc - ################## # SELECT FOLDERS # ################## @@ -29,11 +25,11 @@ bashio::log.info "Import dir set to $IMPORTDIR" # CREATE FOLDERS # ################## -if [ ! -d /config ]; then - echo "Creating /config" - mkdir -p /config -fi -chown -R abc:abc /config +#if [ ! -d /data/config ]; then +# echo "Creating /config" +# mkdir -p /config +#fi +#chown -R abc:abc /config if [ ! -d "$MEDIADIR" ]; then echo "Creating $MEDIADIR"