Home directory

This commit is contained in:
Bob Mottram 2017-06-18 20:22:08 +01:00
parent 5b0afb0c15
commit 2ced68db33
1 changed files with 2 additions and 2 deletions

View File

@ -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