From ced07cceed7a105cb9a68c8541481d3691bc163c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 Feb 2021 13:44:14 +0100 Subject: [PATCH] Update and rename 51-mounts to 11-mounts --- piwigo/rootfs/etc/cont-init.d/{51-mounts => 11-mounts} | 4 ++++ 1 file changed, 4 insertions(+) rename piwigo/rootfs/etc/cont-init.d/{51-mounts => 11-mounts} (94%) diff --git a/piwigo/rootfs/etc/cont-init.d/51-mounts b/piwigo/rootfs/etc/cont-init.d/11-mounts similarity index 94% rename from piwigo/rootfs/etc/cont-init.d/51-mounts rename to piwigo/rootfs/etc/cont-init.d/11-mounts index e7fb49d35..30969abd3 100644 --- a/piwigo/rootfs/etc/cont-init.d/51-mounts +++ b/piwigo/rootfs/etc/cont-init.d/11-mounts @@ -1,4 +1,8 @@ #!/usr/bin/with-contenv bashio + +mkdir -p /config/piwigo +sed -i 's|/config|/config/piwigo|g' /etc/cont-init.d/40-install + bashio::log.info 'Mounting external hdd...' # Mount local Share if configured and if Protection Mode is active