about summary refs log tree commit diff
path: root/halt.8
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-09-05 17:04:16 +0200
committerLeah Neukirchen <chneukirchen@gmail.com>2019-09-06 14:40:42 +0200
commit8045334f08798ea91e25875539efb3b430ed3e99 (patch)
tree3d62d69badd69f0dfea19e5b9211bb40490e3bae /halt.8
parent0566391df8c9c93f75ad99d94c8a19abe379908b (diff)
downloadrunit-void-8045334f08798ea91e25875539efb3b430ed3e99.tar.gz
runit-void-8045334f08798ea91e25875539efb3b430ed3e99.tar.xz
runit-void-8045334f08798ea91e25875539efb3b430ed3e99.zip
halt: add support for wtmp
This implements -w and -d.

Also add -B to create boot-time wtmp entries.
Diffstat (limited to 'halt.8')
-rw-r--r--halt.815
1 files changed, 10 insertions, 5 deletions
diff --git a/halt.8 b/halt.8
index 8930ad3..47d9020 100644
--- a/halt.8
+++ b/halt.8
@@ -1,4 +1,4 @@
-.Dd July 29, 2014
+.Dd September 5, 2019
 .Dt HALT 8
 .Os Linux
 .Sh NAME
@@ -10,6 +10,9 @@
 .Nm halt
 .Op Fl n
 .Op Fl f
+.Op Fl d
+.Op Fl w
+.Op Fl B
 .Nm reboot
 .Op Fl n
 .Op Fl f
@@ -40,6 +43,12 @@ Force halt or reboot, don't call
 .Xr init 8 .
 This is
 .Sy dangerous !
+.It Fl d
+Do not write the wtmp record.
+.It Fl w
+Just write the wtmp record.
+.It Fl B
+Just write the wtmp record, but for a boot.
 .El
 .Sh UNSUPPORTED OPTIONS
 This version of
@@ -50,10 +59,6 @@ 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