Created
April 14, 2014 01:35
-
-
Save aruseni/10609902 to your computer and use it in GitHub Desktop.
/etc/profile.d/motd.sh — a simple script for displaying dynamic messages shown on login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# No need to redisplay it on sudo su and in screen sessions | |
if [ "$(id -u)" != "0" ] && [[ ! $TERMCAP =~ screen ]]; then | |
/etc/motd.tcl | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment