[rhn-users] how to get /r and /m in /etc/motd
Christopher L. Barnard
cbarnard at rush.edu
Fri Mar 20 21:30:53 UTC 2009
My /etc/motd has both \r and \m in it, but it is printed verbatim on
login. I'm guessing that these are `uname -r` and `uname -m`, but if I
put those in the motd, even with the backquotes, it is still printed
verbatim. Since the out-of-the-box RH distrtibution has \r and \m in
the /etc/motd (or /etc/issue; I don't recall) there must be a way to get
them expanded to their actual values. Has anyone managed to do this?
--
Christopher Barnard
--------------------------------------------------------------------------
comment your code as if the maintainer will be a homicidal maniac who
knows where you live.
More information about the rhn-users
mailing list