HomeFreeBSD

MFC r285742:

Description

MFC r285742:

Unbreak "last reboot".

According to the last(1) man page, the "reboot" pseudo-user should print
all system reboot entries. This got broken by the utmpx import, as
records are typed.

Re-add support for "last reboot" by specifically matching against
SHUTDOWN_TIME and BOOT_TIME records.

PR: 168844
Submitted by: matthew@

Details

Provenance
edAuthored on
Parents
rS286951: Restore part of r274628, reverted at r286776.
Branches
Unknown
Tags
Unknown