From 6eda93dce08440e22b26e1bd88e47bc5b488b8f9 Mon Sep 17 00:00:00 2001 From: hung3a8 <52038546+hung3a8@users.noreply.github.com> Date: Tue, 16 Mar 2021 07:28:47 +0700 Subject: [PATCH] Set chmod for host-down Set a new chmod for host-down instead of creating two same chmod. --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 9f2b2d5..d14f2c3 100755 --- a/setup.sh +++ b/setup.sh @@ -263,7 +263,7 @@ cat - <<'EOM' > /etc/tinc/vpn/host-down logger -p local0.info VPN connection to $NODE $REMOTEADDRESS:$REMOTEPORT is down EOM -chmod 755 /etc/tinc/vpn/host-up +chmod 755 /etc/tinc/vpn/host-down # Configure systemd for tinc systemctl enable tinc@vpn