update start entry

This commit is contained in:
lxsang 2021-03-24 22:04:42 +01:00
parent c7812b1c97
commit fb0d7ddf68

View File

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