Skip site navigation (1)Skip section navigation (2)
Date:      10 Jan 2003 12:06:21 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        Coreix Systems - UNIX Developers <craigrm@coreixsystems.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Motd Updating
Message-ID:  <1042164381.4807.62.camel@duncan.au.darkbluesea.com>
In-Reply-To: <001401c2b915$54172550$2d01a8c0@apollo>
References:  <001401c2b915$54172550$2d01a8c0@apollo>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2003-01-11 at 12:01, Coreix Systems - UNIX Developers wrote:
> Can someone tell me he name of the .c or .h file containing code to do the
> updating of MOTD,
> i want to add company specific support data to the source so it can be
> updated to motd on a daily basis, but do not want
> it to be easily accessiably be sysadmins.
> i have done it through a /etc/perodic/daily/script file, but clients can
> find it i want to complile it in the source.
> 

I don't believe this is possible. AFAIK, there is no particular code
involved. The updating of /etc/motd appears to be done from /etc/rc
(which is a shell script).

I suppose, as an alternative which may achieve what you want,  you could
compile your company support data into an executable which you call from
rc.
-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1042164381.4807.62.camel>