Date: Sat, 17 Oct 2020 15:45:54 -0500 (CDT) From: Dan Mack <mack@macktronics.com> To: freebsd-current@freebsd.org Subject: Re: bug in motd service / documentation Message-ID: <alpine.GSO.2.20.2010171543310.725@localhost.local> In-Reply-To: <alpine.GSO.2.20.2010171402490.725@localhost.local> References: <alpine.GSO.2.20.2010171402490.725@localhost.local>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3735943886-1594794192-1602967554=:725 Content-Type: text/plain; charset=US-ASCII; format=flowed On Sat, 17 Oct 2020, Dan Mack wrote: > I've been away for a while and missed the change and complexity added to > /etc/motd. I figured it out but I was led astray by not knowing that it was > converted into a service that only runs at boot time. If you just follow the > instructions in the template file, you will nothing changes. > > As a suggestion, maybe change this line in the /etc/motd.template file: > > Edit /etc/motd.template to change this login announcement. > > to: > > Edit /etc/motd.template to change this login announcement and > reboot or manually restart the motd service in /etc/rc.d/motd as in: > > /etc/rc.d/motd restart > > and also add an entry to the man page for motd. > > This was on: FreeBSD boxolox 13.0-CURRENT FreeBSD 13.0-CURRENT #1 > r366790: Sat Oct 17 08:57:56 CDT 2020 Instead of just complaining, I've attached a diff of a proposed fix. Diff against base/head is here fwiw: https://github.com/danmack/freebsd/tree/motd-doc-fix Dan --3735943886-1594794192-1602967554=:725 Content-Type: text/plain; charset=US-ASCII; name=motd-fix-txt Content-Transfer-Encoding: BASE64 Content-ID: <alpine.GSO.2.20.2010171545540.725@localhost.local> Content-Description: motd doc patch Content-Disposition: attachment; filename=motd-fix-txt ZGlmZiAtLWdpdCBhL3NoYXJlL21hbi9tYW41L21vdGQuNSBiL3NoYXJlL21h bi9tYW41L21vdGQuNQ0KaW5kZXggOWZlYjA0NzliOTIuLjQ1N2M2OWRhNmI2 IDEwMDY0NA0KLS0tIGEvc2hhcmUvbWFuL21hbjUvbW90ZC41DQorKysgYi9z aGFyZS9tYW4vbWFuNS9tb3RkLjUNCkBAIC0yMiw2ICs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dGUgdG8gY2hhbmdlIHRoaXMgbG9naW4gYW5ub3VuY2VtZW50Lg0KK1Rv IGNoYW5nZSB0aGlzIGxvZ2luIGFubm91bmNlbWVudCwgZWRpdCAvZXRjL21v dGQudGVtcGxhdGUgYW5kIGVpdGhlcg0KK3JlYm9vdCBvciByZXN0YXJ0IHRo ZSBtb3RkIHNlcnZpY2UgaW4gL2V0Yy9yYy5kL21vdGQuDQo= --3735943886-1594794192-1602967554=:725--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.20.2010171543310.725>