From 32abb5b59734e50ac35faca0333fa29eee7df18e Mon Sep 17 00:00:00 2001 From: Giuseppe C Date: Wed, 5 Feb 2020 16:23:49 +0100 Subject: [PATCH] don't re-initialize nodes, even if they are not baptized "server" --- tinc/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinc/init.sh b/tinc/init.sh index 79b2494..ece1d6f 100755 --- a/tinc/init.sh +++ b/tinc/init.sh @@ -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