mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update
This commit is contained in:
@@ -42,9 +42,16 @@ fi
|
||||
# Global actions for all addons
|
||||
# ==============================================================================
|
||||
if bashio::config.has_value "PUID" && bashio::config.has_value "GUID"; then
|
||||
bashio::log.green "Setting user to $PUID:$PGID"
|
||||
bashio::log.green "Defining permissions for main user :"
|
||||
bashio::log.blue "User UID: $PUID"
|
||||
bashio::log.blue "User GID : $PGID"
|
||||
groupmod -o -g "$PGID" abc
|
||||
usermod -o -u "$PUID" abc
|
||||
bashio::log.blue \
|
||||
'-----------------------------------------------------------'
|
||||
fi
|
||||
|
||||
───────────────────────────────────────
|
||||
User UID: 1000
|
||||
User GID: 1000
|
||||
───────────────────────────────────────
|
||||
Reference in New Issue
Block a user