Use default branding file for 3rd party images

This commit is contained in:
thespad 2024-06-14 14:23:52 +01:00
parent 78ab9cc511
commit 3567e2c461
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -7,7 +7,9 @@ PGID=${PGID:-911}
if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; then
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
fi
if { [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; } || [[ ! ${LSIO_FIRST_PARTY} = "true" ]]; then
cat /etc/s6-overlay/s6-rc.d/init-adduser/branding
else
cat /run/branding