DragonFly BSD
DragonFly submit List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: motd update


From: Robert Garrett <rg70@xxxxxxxxxxxxx>
Date: Sat, 31 Jan 2004 21:33:07 -0600

Robert Garrett wrote:

> Robert Garrett wrote:
> 
>> Dylan Reinhold wrote:
>> 
>>> Matthew Dillon wrote:
>>>> :
>>>> :>     ?  It works for me.  If you want to augment it to not update the
>>>> :>     motd if the motd does not already have a DragonFly line I think
>>>> :>     that's fine, but don't just turn it off.
>>>> :
>>>> :I don't see why the uname output should be in motd. Every sysadmin out
>>>> :there knows how to use uname if they want to see what OS/version its
>>>> :running.
>>>> 
>>>>     The solution is clear... the code should be adjusted such that if
>>>>     there is a DragonFly release string in the motd, the boot code
>>>>     adjusts it, and if there is no DragonFly release string in the
>>>>     motd, the boot code doesn't mess with it.
>>>> 
>>>>     The default motd has a DragonFly release string so insofar as new
>>>>     installs go, the motd will have the release.  But if the sysop
>>>>     doesn't like it he can just delete it from the motd without messing
>>>>     with rc.conf.
>>>> 
>>>>     Would someone like to have a go at 'fixing' /etc/rc.d/motd to
>>>>     generate this behavior?
>>>> 
>>>> -Matt
>>>> Matthew Dillon
>>>> <dillon@xxxxxxxxxxxxx>
>>> 
>>> Ok here it is...
>>> This was only tested on a FreeBSD-5.2 system, I haven't had a chance to
>>> install DragonFly (Soon..). /etc/motd will only be updated if the first
>>> work of the first line is DragonFly..
>>> 
>>> Dylan
>> I'll check this out sometime tonight..
>> 
>> Rob
> patch looks fine, I will commit this as soon as I finish checking out, a
> clean source tree
> 
> Rob
committed



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]