From 9ed5ac0cd6e8f0745c866db8ffd229323091fd15 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 27 Nov 2019 17:31:39 +0100 Subject: 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. --- docs/interfaces/wireless.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/interfaces/wireless.rst') diff --git a/docs/interfaces/wireless.rst b/docs/interfaces/wireless.rst index 46c038af..8bc5d434 100644 --- a/docs/interfaces/wireless.rst +++ b/docs/interfaces/wireless.rst @@ -9,13 +9,13 @@ If your device is configurable it will appear as `wlan` in `show interfaces`. To be able to use the wireless interfaces you will first need to set a regulatory domain with the country code of your locaion. -.. code-block:: sh +.. code-block:: console set system wifi-regulatory-domain SE An example on how to set it up as an access point: -.. code-block:: sh +.. code-block:: console set interfaces wireless wlan0 address '192.168.99.1/24' set interfaces wireless wlan0 type access-point @@ -27,7 +27,7 @@ An example on how to set it up as an access point: Resulting in -.. code-block:: sh +.. code-block:: console interfaces { [...] -- cgit v1.2.3