Only create sshd if it doesnt exist

This commit is contained in:
Deon George 2021-04-24 23:44:08 +10:00
parent c4d1714392
commit b796dca4ba

2
init
View File

@ -22,7 +22,7 @@ if [ -r ${USERS} ]; then
fi
done
mkdir /run/sshd && /usr/sbin/sshd
([ -d /run/sshd ] || mkdir /run/sshd) && /usr/sbin/sshd
fi
exec /sbin/doorparty-connector /etc/doorparty-connector.ini