about summary refs log tree commit diff
path: root/core-services
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-09-05 19:19:38 +0200
committerLeah Neukirchen <chneukirchen@gmail.com>2019-09-06 14:40:42 +0200
commit6e355b9c6567363eff97940ba94c3e086028435c (patch)
tree5d7e5a7089ba93fc9732f502aa1722486e2b95cc /core-services
parent8045334f08798ea91e25875539efb3b430ed3e99 (diff)
downloadrunit-void-6e355b9c6567363eff97940ba94c3e086028435c.tar.gz
runit-void-6e355b9c6567363eff97940ba94c3e086028435c.tar.xz
runit-void-6e355b9c6567363eff97940ba94c3e086028435c.zip
core-services/05-misc.sh: log boot in wtmp
Diffstat (limited to 'core-services')
-rw-r--r--core-services/05-misc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/core-services/05-misc.sh b/core-services/05-misc.sh
index 8aabaa0..a7d7b19 100644
--- a/core-services/05-misc.sh
+++ b/core-services/05-misc.sh
@@ -1,5 +1,7 @@
 # vim: set ts=4 sw=4 et:
 
+halt -B  # for wtmp
+
 if [ -z "$VIRTUALIZATION" ]; then
     msg "Initializing random seed..."
     cp /var/lib/random-seed /dev/urandom >/dev/null 2>&1 || true