Re: bug in motd service / documentation

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 18 Oct 2020 09:52:06 -0600
On Sat, Oct 17, 2020 at 2:46 PM Dan Mack <mack_at_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
Received on Sun Oct 18 2020 - 13:52:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC