summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--core-services/05-misc.sh1
-rw-r--r--core-services/99-cleanup.sh1
2 files changed, 1 insertions, 1 deletions
diff --git a/core-services/05-misc.sh b/core-services/05-misc.sh
index a7d7b19..7b035d6 100644
--- a/core-services/05-misc.sh
+++ b/core-services/05-misc.sh
@@ -1,5 +1,6 @@
 # vim: set ts=4 sw=4 et:
 
+install -m0664 -o root -g utmp /dev/null /run/utmp
 halt -B  # for wtmp
 
 if [ -z "$VIRTUALIZATION" ]; then
diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh
index 2d7da1d..f27f728 100644
--- a/core-services/99-cleanup.sh
+++ b/core-services/99-cleanup.sh
@@ -1,6 +1,5 @@
 # vim: set ts=4 sw=4 et:
 
-install -m0664 -o root -g utmp /dev/null /run/utmp
 if [ ! -e /var/log/wtmp ]; then
 	install -m0664 -o root -g utmp /dev/null /var/log/wtmp
 fi