From b750101eb236130cf056c675997decbac904cc49 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:35:18 +0200 Subject: Adding upstream version 252.22. Signed-off-by: Daniel Baumann --- man/halt.xml | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 man/halt.xml (limited to 'man/halt.xml') diff --git a/man/halt.xml b/man/halt.xml new file mode 100644 index 0000000..c13ee5c --- /dev/null +++ b/man/halt.xml @@ -0,0 +1,160 @@ + + + + + + + + halt + systemd + + + + halt + 8 + + + + halt + poweroff + reboot + Halt, power-off or reboot the machine + + + + + halt + OPTIONS + + + poweroff + OPTIONS + + + reboot + OPTIONS + + + + + Description + + halt, poweroff, reboot may be used to + halt, power-off, or reboot the machine. All three commands take the same options. + + + + + Options + + The following options are understood: + + + + + + + + + + + + Halt the machine, regardless of which one of + the three commands is invoked. + + + + + + + Power-off the machine, when either halt + or poweroff is invoked. This option is ignored when + reboot is invoked. + + + + + + Reboot the machine, regardless of which one of + the three commands is invoked. + + + + + + + + Force immediate halt, power-off, reboot. If specified, the command does not contact the init + system. In most cases, filesystems are not properly unmounted before shutdown. For example, the + command reboot -f is mostly equivalent to systemctl reboot -ff, + instead of systemctl reboot -f. + + + + + + + + Only write wtmp shutdown entry, do not + actually halt, power-off, reboot. + + + + + + + Do not write wtmp shutdown + entry. + + + + + + + Don't sync hard disks/storage media before + halt, power-off, reboot. + + + + + + Do not send wall message before halt, + power-off, reboot. + + + + + + Exit status + + On success, 0 is returned, a non-zero failure code + otherwise. + + + + Notes + + These commands are implemented in a way that preserves basic compatibility with the original SysV + commands. systemctl1 + verbs halt, poweroff, reboot provide the same + functionality with some additional features. + + Note that on many SysV systems halt used to be synonymous to + poweroff, i.e. both commands would equally result in powering the machine off. systemd + is more accurate here, and halt results in halting the machine only (leaving power + on), and poweroff is required to actually power it off. + + + + See Also + + systemd1, + systemctl1, + shutdown8, + wall1 + + + + -- cgit v1.2.3