summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-x32
-rw-r--r--core-services/05-misc.sh2
2 files changed, 3 insertions, 1 deletions
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