]> gitweb.morketsmerke.org Git - immudex-testing.git/commitdiff
Zmiana w wyƛwietlaniu baneru - immudex-motd2
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 11 Nov 2023 15:57:41 +0000 (16:57 +0100)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 11 Nov 2023 15:57:41 +0000 (16:57 +0100)
tools/immudex-motd2

index 3845a63364937d1da08450a731751897d09296dc..8dd29b629e21c65c8d185f47b4cbbf6938ac571a 100755 (executable)
@@ -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 "====================================================================";