summaryrefslogtreecommitdiff
path: root/docs/system/ntp.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:38 +0100
commit6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch)
tree009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/system/ntp.rst
parent76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff)
downloadvyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz
vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/system/ntp.rst')
-rw-r--r--docs/system/ntp.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/system/ntp.rst b/docs/system/ntp.rst
index ed2a0ecb..d9598a6f 100644
--- a/docs/system/ntp.rst
+++ b/docs/system/ntp.rst
@@ -5,7 +5,7 @@ NTP
there are 3 default NTP server set. You are able to change them.
-.. code-block:: sh
+.. code-block:: console
set system ntp server 0.pool.ntp.org
set system ntp server 1.pool.ntp.org
@@ -13,7 +13,7 @@ there are 3 default NTP server set. You are able to change them.
To set up VyOS as an NTP responder, you must specify the listen address and optionally the permitted clients.
-.. code-block:: sh
+.. code-block:: console
set system ntp listen-address 192.168.199.1
set system ntp allow-clients address 192.168.199.0/24