Date: Sun, 18 Oct 2020 09:52:06 -0600 From: Warner Losh <imp@bsdimp.com> To: Dan Mack <mack@macktronics.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: bug in motd service / documentation Message-ID: <CANCZdfpS2_NKCbAhPzMtFu6d2r9hRNp02ACU1zeeFigtLRurtQ@mail.gmail.com> In-Reply-To: <alpine.GSO.2.20.2010171543310.725@localhost.local> References: <alpine.GSO.2.20.2010171402490.725@localhost.local> <alpine.GSO.2.20.2010171543310.725@localhost.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 17, 2020 at 2:46 PM Dan Mack <mack@macktronics.com> wrote: > 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 Thanks Dan. I'll commit this if someone doesn't beat me to it. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpS2_NKCbAhPzMtFu6d2r9hRNp02ACU1zeeFigtLRurtQ>