From fb0d7ddf68a424f8ea42e1c62cfe35e383f77678 Mon Sep 17 00:00:00 2001 From: lxsang Date: Wed, 24 Mar 2021 22:04:42 +0100 Subject: [PATCH] update start entry --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 56003e9..a48c3f9 100755 --- a/start.sh +++ b/start.sh @@ -1,5 +1,5 @@ #! /bin/sh -ln -sf /app/home "/home/$ANTOS_USER" +[ ! -e "/home/$ANTOS_USER" ] && ln -sf /app/home "/home/$ANTOS_USER" adduser --home "/home/$ANTOS_USER" --disabled-password --gecos "" "$ANTOS_USER" echo -e "$ANTOS_PASSWORD\n$ANTOS_PASSWORD" | passwd "$ANTOS_USER" # start antd-tunnel service