aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 12:11:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 12:11:18 +0300
commit894404f3ec4a5c1663a40fc21e2c7d5e0fa541d4 (patch)
treefacff00c92cfb58831a70eaaafa69b44a9237930
parentfix systemd instructions (diff)
downloadwireguard-config-894404f3ec4a5c1663a40fc21e2c7d5e0fa541d4.tar.gz
wireguard-config-894404f3ec4a5c1663a40fc21e2c7d5e0fa541d4.zip
fix NetworkManager instructions
Diffstat (limited to '')
-rw-r--r--assets/js/main.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 4ab4cc5..dc982d3 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -317,7 +317,9 @@ function nmcli_client_file(data) {
`# On the client, put this to
# ${path}
# and run
-# nmcli c reload && nmcli c up ${iface}
+# chmod 0600 ${path}
+# nmcli c reload
+# nmcli c up ${iface}
[connection]
id=${iface}
@@ -351,7 +353,8 @@ function nmcli_server_file(data) {
`# On the server, add this to
# ${path}
# and run
-# nmcli c reload && nmcli c up ${iface}
+# nmcli c reload
+# nmcli c up ${iface}
# Previous contents goes here...