Skip to content

Commit 6e355b9

Browse files
core-services/05-misc.sh: log boot in wtmp
1 parent 8045334 commit 6e355b9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if [ -z "$VIRTUALIZATION" -a -n "$HARDWARECLOCK" ]; then
2727
hwclock --systohc ${HARDWARECLOCK:+--$(echo $HARDWARECLOCK |tr A-Z a-z)}
2828
fi
2929

30-
halt -w # for utmp
30+
halt -w # for wtmp
3131

3232
if [ -z "$VIRTUALIZATION" ]; then
3333
msg "Stopping udev..."

core-services/05-misc.sh

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

3+
halt -B # for wtmp
4+
35
if [ -z "$VIRTUALIZATION" ]; then
46
msg "Initializing random seed..."
57
cp /var/lib/random-seed /dev/urandom >/dev/null 2>&1 || true

0 commit comments

Comments
 (0)