From 355a02b5baa1287c9c1c3f35c189d22fde6e5323 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 29 Jul 2014 16:16:18 +0200 Subject: add halt(8) and shutdown(8) --- halt.8 | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 halt.8 (limited to 'halt.8') diff --git a/halt.8 b/halt.8 new file mode 100644 index 0000000..80b8858 --- /dev/null +++ b/halt.8 @@ -0,0 +1,66 @@ +.Dd July 29, 2014 +.Dt HALT 8 +.Os Linux +.Sh NAME +.Nm halt , +.Nm reboot , +.Nm poweroff +.Nd stop the system +.Sh SYNOPSIS +.Nm halt +.Op Fl n +.Op Fl f +.Nm reboot +.Op Fl n +.Op Fl f +.Nm poweroff +.Op Fl n +.Op Fl f +.Sh DESCRIPTION +.Nm halt +/ +.Nm reboot +/ +.Nm poweroff +tells +.Xr init 8 +to bring down, reboot, or power off the system. +Without +.Fl f , +it is a shortcut for +.Nm init 0 +/ +.Nm init 6 . +.Bl -tag -width indent +.It Fl n +Don't sync before reboot or halt. +Note that the kernel and storage drivers may still sync. +.It Fl f +Force halt or reboot, don't call +.Xr init 8 . +This is +.Sy dangerous ! +.El +.Sh UNSUPPORTED OPTIONS +This version of +.Nm +is based on +.Xr runit 8 , +the following features are +.Sy not +supported and silently ignored: +.Bl -tag -width indent +.It Fl w +to just write the wtmp record. +.It Fl d +to not write the wtmp record. +.It Fl h +to put hard drives in standby mode. +.It Fl i +to shut down network interfaces. +.Sh SEE ALSO +.Xr shutdown 8 , +.Xr init 8 +.Sh AUTHOR +.An Christian Neukirchen , +.Mt chneukirchen@gmail.com . -- cgit 1.4.1