Ignore motd (handled by OS)

This commit is contained in:
Anthony Rose 2019-11-25 13:33:47 +00:00
parent ebb48f5b8b
commit aea5ad970c

View file

@ -222,11 +222,6 @@ fi
case $- in
*i*)
# Shell is interactive
if ! test -f .hushlogin && test -r /etc/motd; then
echo "---- BEGIN MOTD ----"
cat /etc/motd
echo "----- END MOTD -----"
fi
printf "\033[7m"
uname -sr
printf "\033[0m"