diff options
author | Roland Hieber <r.hieber@pengutronix.de> | 2018-08-10 00:22:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-08-10 08:41:09 +0200 |
commit | 68de5efb38fd2f38fa3f59c26fd07fa3b1180186 (patch) | |
tree | f56b1edb85b159f785c35c06ad113d2dacb29d56 /Documentation/user/system-setup.rst | |
parent | c3b5e27c5d1f1049b400339b721eff20e0e1243a (diff) | |
download | barebox-68de5efb38fd2f38fa3f59c26fd07fa3b1180186.tar.gz barebox-68de5efb38fd2f38fa3f59c26fd07fa3b1180186.tar.xz |
Documentation: fix code block and literal block highlighting
Use shell script highlighting where it is resonable, use console
highlighting for transcripts, and fix some of the few cases where the
syntax was broken, resulting in text not being rendered at all.
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/user/system-setup.rst')
-rw-r--r-- | Documentation/user/system-setup.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/user/system-setup.rst b/Documentation/user/system-setup.rst index f0598bc2b5..5651569dc2 100644 --- a/Documentation/user/system-setup.rst +++ b/Documentation/user/system-setup.rst @@ -16,7 +16,9 @@ for root privileges. Using the "screen" program ^^^^^^^^^^^^^^^^^^^^^^^^^^ -The terminal manager ``screen`` can also be used as a simple terminal emulator:: +The terminal manager ``screen`` can also be used as a simple terminal emulator: + +.. code-block:: sh screen /dev/ttyUSB0 115200 @@ -31,7 +33,9 @@ from source: https://git.pengutronix.de/cgit/tools/microcom -Usage is simple:: +Usage is simple: + +.. code-block:: sh microcom -p /dev/ttyUSB0 @@ -46,7 +50,9 @@ Configuration of dnsmasq for DHCP and TFTP ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ``dnsmasq`` program can be configured as a DHCP and TFTP server in addition -to its original DNS functionality:: +to its original DNS functionality: + +.. code-block:: sh sudo ip addr add 192.168.23.1/24 dev <interface> sudo ip link set <interface> up |