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 Jun 21 2019, 2:37 AM
Parents
rG58b5b90d6a01: Fixup UPDATING text for r349253
Branches
Unknown
Tags
Unknown

Event Timeline