From 503320367519c105a7da830f78e182c4a258347a Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sat, 22 Jul 2017 22:41:46 +0200 Subject: [PATCH] Update motds32 # clean terminal when load MOTDs32 echo -en "\ec" > $MOTD --- bin/motds32 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/motds32 b/bin/motds32 index 9518e6a..f89fb14 100755 --- a/bin/motds32 +++ b/bin/motds32 @@ -618,7 +618,10 @@ check_ntp # Create MOTD system status header load -echo_center "${HOSTNAME}${NTPSTATUS} > status at $(date +"%R") > ${LOAD_REPORT}" bold > $MOTD +# clean terminal when load MOTDs32 +echo -en "\ec" > $MOTD + +echo_center "${HOSTNAME}${NTPSTATUS} > status at $(date +"%R") > ${LOAD_REPORT}" bold >> $MOTD echo >> $MOTD