summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-12-19 21:04:28 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-19 11:13:58 -0800
commitf94dacf90e0bfbc437d9a7e1f96f65cfbe3aa996 (patch)
treeda25ee6e2e7d7807a70cdac2b42d6b2731ce584e /Base
parent121bcc267dc19f474254f68a70850f0806e3385f (diff)
downloadserenity-f94dacf90e0bfbc437d9a7e1f96f65cfbe3aa996.zip
Base: Add reboot(1) manpage
Diffstat (limited to 'Base')
-rw-r--r--Base/usr/share/man/man1/reboot.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/reboot.md b/Base/usr/share/man/man1/reboot.md
new file mode 100644
index 0000000000..4ef0b61356
--- /dev/null
+++ b/Base/usr/share/man/man1/reboot.md
@@ -0,0 +1,18 @@
+## Name
+
+reboot - Reboot the machine
+
+## Synopsis
+
+```**sh
+$ reboot
+```
+
+## Description
+
+`reboot` instructs the kernel to reboot the machine immediately.
+
+## Notes
+
+The `reboot` utility opens the `/sys/firmware/power_state` node and writes the magic value "1"
+to instruct the kernel to reboot the machine.