1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

don't re-initialize nodes, even if they are not baptized "server"

This commit is contained in:
Giuseppe C 2020-02-05 16:23:49 +01:00 committed by GitHub
parent 1b9cd4e8bc
commit 32abb5b597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
# initialize server profile
#
if [ -f /etc/tinc/${NETNAME}/hosts/server ]
if [ -f /etc/tinc/${NETNAME}/rsa_key.priv ]
then
echo 'Initialized!'
exit 0