Skip to content
Snippets Groups Projects
Commit 2ced68db authored by Bob Mottram's avatar Bob Mottram
Browse files

Home directory

parent 5b0afb0c
No related branches found
No related tags found
No related merge requests found
......@@ -574,8 +574,8 @@ __ENDCONFIG__
chown -R turtl:turtl $TURTL_BASE_DIR
fi
adduser --disabled-login --home=$TURTL_BASE_DIR --gecos 'turtl' turtl
if [ ! -d /home/turtl ]; then
echo $"/home/turtl directory not created"
if [ ! -d $TURTL_BASE_DIR ]; then
echo $"$TURTL_BASE_DIR directory not created"
exit 263493
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment