mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 92-local_mounts.sh
https://github.com/alexbelgium/hassio-addons/issues/726
This commit is contained in:
@@ -30,7 +30,7 @@ if bashio::config.has_value 'localdisks'; then
|
|||||||
mkdir -p /mnt/"$disk"
|
mkdir -p /mnt/"$disk"
|
||||||
if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID'; then
|
if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID'; then
|
||||||
PUID="$(bashio::config 'PUID')"
|
PUID="$(bashio::config 'PUID')"
|
||||||
PGID="$(bashio::config 'PUID')"
|
PGID="$(bashio::config 'PGID')"
|
||||||
chown "$PUID:$PGID" /mnt/"$disk"
|
chown "$PUID:$PGID" /mnt/"$disk"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user