From a875083739c5162e58d4369810471fc39b8096d7 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sun, 19 Dec 2021 21:04:35 +0200 Subject: [PATCH] Base: Add shutdown(1) manpage --- Base/usr/share/man/man1/shutdown.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Base/usr/share/man/man1/shutdown.md diff --git a/Base/usr/share/man/man1/shutdown.md b/Base/usr/share/man/man1/shutdown.md new file mode 100644 index 0000000000..70d18fbdf9 --- /dev/null +++ b/Base/usr/share/man/man1/shutdown.md @@ -0,0 +1,18 @@ +## Name + +shutdown - Power off the machine + +## Synopsis + +```**sh +$ shutdown +``` + +## Description + +`shutdown` instructs the kernel to power off the machine immediately. + +## Notes + +The `shutdown` utility opens the `/sys/firmware/power_state` node and writes the magic value "2" +to instruct the kernel to power off the machine.