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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to