Automatic Updates
Update /etc/motd with system information
If you wish to automatically update the UNIX
/etc/motd file with system information,
you can use the
mcsysinfomotd script
which is bundled with SysInfo.
This script will insert/update the first 2 lines of
/etc/motd
to look something like:
host% cat /etc/motd
OS Release is Fedora Core 4 (Linux 2.6.11-1.1369_FC4)
System is a Dell DIM4500, 1 x 2.4 GHz Pentium 4, 512 MB RAM
You must run
mcsysinfomotd
as a user who has write permissions to the
/etc
directory. Usually this means you must be root.
Typically you want to run
mcsysinfomotd
whenever the system boots via an
/etc/init.d
file or equivilant.
The mcsysinfomotd command is found in
/opt/mcsysinfo/bin on Linux/Unix and in
C:\Program Files\MagniComp\SysInfo\bin on Windows
by default.