Update entrypoint.sh (#94)
Echo actual `NEW_USER_ID`, instead of hardcoded/default id=9001.pull/96/head
parent
7d60e758a1
commit
228423bd9c
|
@ -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 &&\
|
||||
|
|
Loading…
Reference in New Issue