From 7b1f18f597cc82364e7aa73e5e5eb26c1975f849 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 29 Nov 2020 18:58:00 +0100 Subject: [PATCH] Update 50-mounts --- emby/root/etc/cont-init.d/50-mounts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emby/root/etc/cont-init.d/50-mounts b/emby/root/etc/cont-init.d/50-mounts index f64af5417..7547f24c6 100644 --- a/emby/root/etc/cont-init.d/50-mounts +++ b/emby/root/etc/cont-init.d/50-mounts @@ -1,2 +1,9 @@ #!/usr/bin/with-contenv bashio -mount /dev/sdb1 /share/test + +if [ ! -d /share/storage ]; then + echo "Creating /share/storage" + mkdir -p /share/storage + chown -R abc:abc /share/storage +fi + +mount /dev/sdb1 /share/storage