Update entrypoint.sh (#94)

Echo actual `NEW_USER_ID`, instead of hardcoded/default id=9001.
pull/96/head
Hans van den Bogert 2017-06-28 21:10:11 +02:00 committed by Christian Häussler
parent 7d60e758a1
commit 228423bd9c
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ IFS=$'\n\t'
NEW_USER_ID=${USER_ID:-9001}
echo "Starting with openhab user id: $NEW_USER_ID"
if ! id -u openhab >/dev/null 2>&1; then
echo "Create user openhab with id 9001"
echo "Create user openhab with id ${NEW_USER_ID}"
adduser -u $NEW_USER_ID --disabled-password --gecos '' --home ${APPDIR} openhab &&\
groupadd -g 14 uucp2 &&\
groupadd -g 16 dialout2 &&\