diff --git a/doorparty.sh b/doorparty.sh index 9d5d728..6e23a34 100755 --- a/doorparty.sh +++ b/doorparty.sh @@ -5,7 +5,6 @@ GID=1000 USERS=${SBBSCTRL}/doorparty-connector.users if ! grep -qe ^${GROUP}: /etc/group; then - echo true groupadd -g ${GID} ${GROUP} fi diff --git a/init b/init index 85a3647..3c0dfbe 100755 --- a/init +++ b/init @@ -21,6 +21,10 @@ if [ ! -e "${SBBSCTRL}/../text/answer.msg" ]; then cp -Ras ${SBBSCTRL}/../text.orig/* ${SBBSCTRL}/../text/ fi +if [ -r ${SBBSCTRL}/doorparty-connector.users ]; then + ${SBBSCTRL}../exec/doorparty.sh +fi + if [ -x /usr/sbin/zerotier-one -a -n "${ENABLE_ZT}" ]; then echo "* Starting ZeroTier" mkdir /dev/net && mknod /dev/net/tun -m 666 c 10 200