From 1802cbaec0ef7e95848f2817260dd8db9f6da216 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 16 Sep 2022 21:58:44 +0200 Subject: [PATCH] Update 92-smb_mounts.sh --- .templates/92-smb_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index 049627399..3d8c601df 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -26,7 +26,7 @@ if bashio::config.has_value 'networkdisks'; then fi # Mount using UID/GID values - if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID'; then + if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID' && [ -z ${ROOTMOUNT+x} ]; then echo "Using PUID $(bashio::config 'PUID') and PGID $(bashio::config 'PGID')" PUID=",uid=$(bashio::config 'PUID')" PGID=",gid=$(bashio::config 'PGID')"