HomeFreeBSD

reboot: Emulate nextboot -D better

Description

reboot: Emulate nextboot -D better

It used to produce no output when the file couldn't be removed. Emulate
that better by unlinking and ignoring errors. It's used at the end of
reboot always, even when the file isn't going to be there.

Sponsored by: Netflix
Fixes: 2c479548119a

Details

Provenance
impAuthored on Feb 21 2024, 6:03 AM
Parents
rGc7d5cc6f5e64: Revert "rc.d/mountlate: discard output from nextboot"
Branches
Unknown
Tags
Unknown