mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
doc: use code-block in pstore.rst
Use syntax highlighting for a Linux console session. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
d2472dedbd
commit
9ebb71f70d
@ -57,7 +57,9 @@ Generate kernel crash
|
|||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
For test purpose, you can generate a kernel crash by setting reboot timeout to
|
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 1 > /proc/sys/kernel/sysrq"
|
||||||
$ sudo sh -c "echo 10 > /proc/sys/kernel/panic"
|
$ sudo sh -c "echo 10 > /proc/sys/kernel/panic"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user