From 1e314b691cb347f40e2f1440d166a2ce6a4ccbaa Mon Sep 17 00:00:00 2001 From: PS
Date: Sat, 7 Feb 2026 10:39:41 +0100 Subject: Add doc --- doc/bin/powertool.html | 61 +++++++++++++++++++++++++++++++++++++++++++++ doc/bin/set-ctrlaltdel.html | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 doc/bin/powertool.html create mode 100644 doc/bin/set-ctrlaltdel.html (limited to 'doc/bin') diff --git a/doc/bin/powertool.html b/doc/bin/powertool.html new file mode 100644 index 0000000..f4eb785 --- /dev/null +++ b/doc/bin/powertool.html @@ -0,0 +1,61 @@ + + +
+ + + +
+ linux-supplements
+
+ Software
+
+ 0x53.net
+
+ powertool instructs the Linux Kernel to either + halt, poweroff or reboot. + This initiates hardware shutdown, not an orderly + shutdown of the system. It should be the last + program called during an orderly shutdown sequence. +
+powertool -h | -p | -r+
+ powertool instructs the Linux Kernel according to the options given. + The op's listed below are documented + here. +
+-h: Instruct the Linux Kernel to halt,
+ corresponding to the op RB_HALT_SYSTEM.
+ -p: Instruct the Linux Kernel to poweroff,
+ corresponding to the op RB_POWER_OFF.
+ -r: Instruct the Linux Kernel to reboot,
+ corresponding to the op RB_AUTOBOOT.
+
+ linux-supplements
+
+ Software
+
+ 0x53.net
+
+ set-ctrlaltdel sets the action done upon pressing the
+ CTRL + ALT + DEL key combination.
+
set-ctrlaltdel -h | -s+
-h: Instruct the Linux Kernel to instantly reboot
+ without a proper shutdown sequence upon pressing the key combination.
+ -s: Instruct the Linux Kernel to send SIGINT
+ to init (PID 1), which, in the case of
+ goetia,
+ initiates an orderly shutdown sequence.
+