From 1f84bd6ffb7d4da0c8e743ffd954ac2c50f16860 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 11 Nov 2023 16:57:41 +0100 Subject: [PATCH] =?utf8?q?Zmiana=20w=20wy=C5=9Bwietlaniu=20baneru=20-=20im?= =?utf8?q?mudex-motd2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/immudex-motd2 | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) 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 "===================================================================="; -- 2.39.5