Update 10-setup_user.sh

UID and GUID were flipped and didn't match text in echo line.
Likewise swapped ln10&11 to maintain consistency.
This commit is contained in:
Jon Xuereb
2022-09-29 16:31:44 -04:00
committed by GitHub
parent 3a6178979f
commit becf1c586b

View File

@@ -4,11 +4,11 @@ PGID=${PGID:-100}
UMASK=${UMASK:-000}
USER_PASSWORD=${USER_PASSWORD:-password}
echo "**** Configure default user ****"
echo "**** Configure default user ****"
echo "Setting run user uid=${PGID}(${USER}) gid=${PUID}(${USER})"
groupmod -o -g "${PGID}" ${USER}
echo "Setting run user uid=${PUID}(${USER}) gid=${PGID}(${USER})"
usermod -o -u "${PUID}" ${USER}
groupmod -o -g "${PGID}" ${USER}
echo "Adding run user to video, input and audio groups"