mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 92-local_mounts.sh
This commit is contained in:
@@ -12,7 +12,7 @@ if bashio::config.has_value 'localdisks'; then
|
||||
echo "Local Disks mounting..."
|
||||
|
||||
# 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="$(bashio::config 'PUID')"
|
||||
PGID="$(bashio::config 'PGID')"
|
||||
|
||||
Reference in New Issue
Block a user