From: xf0r3m Date: Sat, 11 Nov 2023 15:57:41 +0000 (+0100) Subject: Zmiana w wyƛwietlaniu baneru - immudex-motd2 X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=1f84bd6ffb7d4da0c8e743ffd954ac2c50f16860;p=immudex-testing.git Zmiana w wyƛwietlaniu baneru - immudex-motd2 --- diff --git a/tools/immudex-motd2 b/tools/immudex-motd2 index 3845a63..8dd29b6 100755 --- a/tools/immudex-motd2 +++ b/tools/immudex-motd2 @@ -1,8 +1,10 @@ #!/bin/bash #/usr/bin/figlet immudex; -source /usr/local/bin/library.sh; -ascii_colors; +#source /usr/local/bin/library.sh; +#ascii_colors; +echo -en "\e[1m"; echo "immudex" | /usr/bin/figlet | lolcat; echo -en "\e[0m"; +#echo "immudex" | /usr/bin/figlet | lolcat echo; echo "Today is: $(date)"; echo; @@ -42,15 +44,4 @@ echo -e " \t$(uptime | grep -o "load.*$" | tr [a-z] [A-Z])"; echo; echo -e "morketsmerke.org @ 2023 https://github.com/xf0r3m/immudex"; echo; -#/usr/local/bin/immudex_upgrade --check --print; -#if [ $? -ne 0 ]; then -# echo -e "\e[31mThere is no internet connection or internal error.\e[0m"; -# if [ -f /tmp/feed.xml ] && [ ! -s /tmp/feed.xml ]; then -# rm -f /tmp/feed.xml; -# fi -#else -# if [ "$USER" = "xf0r3m" ]; then -# sudo apt update > /tmp/update.log 2>&1 && tail -1 /tmp/update.log; -# fi -#fi echo "====================================================================";