X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;fp=.profile;h=370bb752c217d8599034c45d6b63ff61b92f805f;hp=38212bcc516a9256353c56524d25ef6d28ec6160;hb=f2763b86760c3b58c1665b0476730aa4db80d858;hpb=281cd5332ffff01cfe02c4d2c4f0b7b74dd347b3 diff --git a/.profile b/.profile index 38212bc..370bb75 100644 --- a/.profile +++ b/.profile @@ -177,6 +177,10 @@ if [ -t 0 ] ; then export HGUSER unset name email + + if test -f .hushlogin && ! cmp -s .motd /etc/motd; then + tee $HOME/.motd < /etc/motd + fi fi # No need to set DISPLAY - ssh sets DISPLAY and calls xauth