HomeFreeBSD

rc.d/motd: Update motd more robustly

Description

rc.d/motd: Update motd more robustly

Use appropriate fsyncs to persist the rewritten /etc/motd file, when a
rewrite is performed.

Reported by: Jonathan Walton <jonathan AT isilon.com>
Reviewed by: allanjude, vangyzen
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D20701

Details

Provenance
cemAuthored on
Reviewer
allanjude
Differential Revision
D20701: rc.d/motd: Update motd more robustly
Parents
rS349255: Add Chuck Silvers. He'll be working on the block and buffer layers.
Branches
Unknown
Tags
Unknown