mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 15:45:56 +02:00
Update 92-smb_mounts.sh
This commit is contained in:
@@ -26,7 +26,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Mount using UID/GID values
|
# 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')"
|
echo "Using PUID $(bashio::config 'PUID') and PGID $(bashio::config 'PGID')"
|
||||||
PUID=",uid=$(bashio::config 'PUID')"
|
PUID=",uid=$(bashio::config 'PUID')"
|
||||||
PGID=",gid=$(bashio::config 'PGID')"
|
PGID=",gid=$(bashio::config 'PGID')"
|
||||||
|
|||||||
Reference in New Issue
Block a user