]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
motd: MFC: unbreak for source upgrade
authorEugene Grosbein <eugen@FreeBSD.org>
Mon, 19 Jun 2023 07:49:35 +0000 (14:49 +0700)
committerEugene Grosbein <eugen@FreeBSD.org>
Mon, 26 Jun 2023 04:26:47 +0000 (11:26 +0700)
commit428647d483bb78ca8f152e5c4ef7556eec2a2c68
treea48d18d3714092d1db9d0012ab6539484b20f4f0
parent046df9bdd678d56589f9bd9c0659816f287fdd52
motd: MFC: unbreak for source upgrade

In case of source upgrade path from 12.x proper merge of new /etc
installs /etc/motd.template. Becase of that, the system is left
without symlink /etc/motd -> /var/run/motd but with stale /etc/motd contents.

Fix it creating symlink despite of presence of /etc/motd.template.

(cherry picked from commit 79a96e294c1acb4a2d17447a35f08647a6d09978)
libexec/rc/rc.d/motd