Skip to content

Commit 42297f7

Browse files
core-services/05-misc.sh: create utmp early
1 parent 047744c commit 42297f7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

core-services/05-misc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# vim: set ts=4 sw=4 et:
22

3+
install -m0664 -o root -g utmp /dev/null /run/utmp
34
halt -B # for wtmp
45

56
if [ -z "$VIRTUALIZATION" ]; then

core-services/99-cleanup.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# vim: set ts=4 sw=4 et:
22

3-
install -m0664 -o root -g utmp /dev/null /run/utmp
43
if [ ! -e /var/log/wtmp ]; then
54
install -m0664 -o root -g utmp /dev/null /var/log/wtmp
65
fi

0 commit comments

Comments
 (0)