Improve PUID PGID

This commit is contained in:
Alexandre
2023-04-02 12:00:38 +02:00
parent 78e2b0fd11
commit 96a1112f4b
2 changed files with 3 additions and 3 deletions

View File

@@ -47,8 +47,8 @@ if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then
PGID="$(bashio::config "PGID")"
bashio::log.blue "User UID: $PUID"
bashio::log.blue "User GID : $PGID"
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
groupmod -o -g "$PGID" abc &>/dev/null || true
usermod -o -u "$PUID" abc &>/dev/null || true
bashio::log.blue \
'-----------------------------------------------------------'
fi