projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2472de
)
doc: use code-block in pstore.rst
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 12 Dec 2020 08:00:12 +0000
(09:00 +0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 15 Dec 2020 08:35:29 +0000
(09:35 +0100)
Use syntax highlighting for a Linux console session.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
doc/usage/pstore.rst
patch
|
blob
|
history
diff --git
a/doc/usage/pstore.rst
b/doc/usage/pstore.rst
index 8427d8fd97a9e8af9ff21e5f518205b6db0d6a49..8c4e5274aa1171ff5cc44cbc2ebcf290cfbd05b6 100644
(file)
--- a/
doc/usage/pstore.rst
+++ b/
doc/usage/pstore.rst
@@
-57,7
+57,9
@@
Generate kernel crash
~~~~~~~~~~~~~~~~~~~~~
For test purpose, you can generate a kernel crash by setting reboot timeout to
-10 seconds and trigger a panic::
+10 seconds and trigger a panic
+
+.. code-block:: console
$ sudo sh -c "echo 1 > /proc/sys/kernel/sysrq"
$ sudo sh -c "echo 10 > /proc/sys/kernel/panic"