rc.d/mountlate: discard output from nextboot

silent the warning seen at boot:

    Mounting late filesystems:.
    nextboot: unlink /boot/nextboot.conf: No such file or directory

    Sun Feb 18 23:31:52 AKST 2024

    FreeBSD/amd64 (main) (ttyv0)

    login:

Differential Revision:	https://reviews.freebsd.org/D43979
This commit is contained in:
Robert Wing 2024-02-20 20:50:43 -09:00
parent 768329961d
commit 4cea0cbcc9

View file

@ -39,7 +39,7 @@ mountlate_start()
# If we booted a special kernel remove the record
# so we will boot the default kernel next time.
if [ -x /sbin/nextboot ]; then
/sbin/nextboot -D
/sbin/nextboot -D > /dev/null 2>&1
fi
}