Moved Doorparty out into its own container - part 2

This commit is contained in:
Deon George 2021-03-16 21:55:21 +11:00
parent 57c3e5149a
commit 7cb746ceb2

4
init
View File

@ -27,10 +27,6 @@ if [ ! -d "${SBBSCTRL}/../xtrn" -o $((ls -1 ${SBBSCTRL}/../xtrn 2>/dev/null|wc -
cp -Ras ${SBBSCTRL}/../xtrn.orig/* ${SBBSCTRL}/../xtrn cp -Ras ${SBBSCTRL}/../xtrn.orig/* ${SBBSCTRL}/../xtrn
fi fi
if [ -r ${SBBSCTRL}/doorparty-connector.users ]; then
${SBBSCTRL}/../exec/doorparty.sh
fi
if [ -x /usr/sbin/zerotier-one -a -n "${ENABLE_ZT}" ]; then if [ -x /usr/sbin/zerotier-one -a -n "${ENABLE_ZT}" ]; then
echo "* Starting ZeroTier" echo "* Starting ZeroTier"
mkdir /dev/net && mknod /dev/net/tun -m 666 c 10 200 mkdir /dev/net && mknod /dev/net/tun -m 666 c 10 200