Different motd depending on how I login (e.g. Console vs ssh)?
/etc/login.conf only seems to differentiate between login classes, but I'd like to set up a different motd for the same user depending on where he logs in. I know I can set up an if-statement in ~/.profile that checks $TERM. Is there a way to achieve this system-side?
|