From 6e355b9c6567363eff97940ba94c3e086028435c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 5 Sep 2019 19:19:38 +0200 Subject: core-services/05-misc.sh: log boot in wtmp --- 3 | 2 +- core-services/05-misc.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/3 b/3 index 20d7c99..7945490 100755 --- a/3 +++ b/3 @@ -27,7 +27,7 @@ if [ -z "$VIRTUALIZATION" -a -n "$HARDWARECLOCK" ]; then hwclock --systohc ${HARDWARECLOCK:+--$(echo $HARDWARECLOCK |tr A-Z a-z)} fi -halt -w # for utmp +halt -w # for wtmp if [ -z "$VIRTUALIZATION" ]; then msg "Stopping udev..." 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 -- cgit 1.4.1