aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 12:12:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-03 12:12:31 +0300
commitafe4fa0a5529b1cee7814d7cb71552feff4a32f3 (patch)
treecbbff20888454fe1b00e5e76091ca2183d22f9cc
parentfix NetworkManager instructions (diff)
downloadwireguard-config-afe4fa0a5529b1cee7814d7cb71552feff4a32f3.tar.gz
wireguard-config-afe4fa0a5529b1cee7814d7cb71552feff4a32f3.zip
tweak systemd output a bit
-rw-r--r--assets/js/main.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index dc982d3..90295f0 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -259,7 +259,8 @@ function systemd_client_netdev_file(data) {
`# On the client, you need two files. Put this into
# ${path}
# and after you're done with both files, run
-# systemctl daemon-reload && systemctl restart systemd-networkd
+# systemctl daemon-reload
+# systemctl restart systemd-networkd
[NetDev]
Name = ${iface}
@@ -282,8 +283,9 @@ function systemd_client_network_file(data) {
return new ConfigFile(path,
`# This is the second file. Put this into
# ${path}
-# and if you're done with the first file already,
-# systemctl daemon-reload && systemctl restart systemd-networkd
+# and if you're done with the first file already, run
+# systemctl daemon-reload
+# systemctl restart systemd-networkd
[Match]
Name = ${iface}
@@ -300,7 +302,8 @@ function systemd_server_netdev_file(data) {
`# On the server, add this to
# ${path}
# and run
-# systemctl daemon-reload && systemctl restart systemd-networkd
+# systemctl daemon-reload
+# systemctl restart systemd-networkd
# Previous contents goes here...