summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index e734cf9..5272bee 100755
--- a/install.sh
+++ b/install.sh
@@ -24,3 +24,5 @@ umask 0077
wg genkey >/etc/wireguard/privkey
umask 0022
wg pubkey </etc/wireguard/privkey >/etc/wireguard/pubkey
+
+chmod 711 /etc/wireguard