diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/linux:manual_restart_with_sysrq-trigger.ascii | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/src/linux:manual_restart_with_sysrq-trigger.ascii b/src/linux:manual_restart_with_sysrq-trigger.ascii index 45a0243..29526bf 100644 --- a/src/linux:manual_restart_with_sysrq-trigger.ascii +++ b/src/linux:manual_restart_with_sysrq-trigger.ascii @@ -67,32 +67,29 @@ possible. Here is the list of commands that should be sent to sysrq-trigger, in order, for both a shutdown and a reboot. -* echo r > /proc/sysrq-trigger:: - * (un*R*aw) Takes back control of keyboard from X +echo r > /proc/sysrq-trigger:: (un*R*aw) Takes back control of keyboard from X -* echo e > /proc/sysrq-trigger:: - * (t*E*rminate) Send SIGTERM to all processes. If you aren't familiar with - process signals, this is basically a friendly kill command for every process. +echo e > /proc/sysrq-trigger:: (t*E*rminate) Send SIGTERM to all processes. If + you aren't familiar with process signals, this + is basically a friendly kill command for every + process. -* echo i > /proc/sysrq-trigger:: - * (k*I*ll) Send SIGKILL to all processes. If you aren't familiar with process - signals, this is basically a kill -9 command for every remaining process. +echo i > /proc/sysrq-trigger:: (k*I*ll) Send SIGKILL to all processes. If you + aren't familiar with process signals, this is + basically a kill -9 command for every remaining + process. -* echo s > /proc/sysrq-trigger:: - * (*S*nc) Sync all cached disk operations to disk +echo s > /proc/sysrq-trigger:: (*S*nc) Sync all cached disk operations to disk -* echo u > /proc/sysrq-trigger:: - * (*U*mount) Umounts all mounted partitions +echo u > /proc/sysrq-trigger:: (*U*mount) Umounts all mounted partitions The previous commands all get us to a ready to shutdown or reboot state. To shutdown or reboot, execute one of the following. -* echo o > /proc/sysrq-trigger:: - * (p*O*weroff) Powers off the system +echo o > /proc/sysrq-trigger:: (p*O*weroff) Powers off the system -* echo b > /proc/sysrq-trigger:: - * (re*B*oot) Reboots the system +echo b > /proc/sysrq-trigger:: (re*B*oot) Reboots the system The entire list in order, using the reboot command... |