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