]> gitweb.morketsmerke.org Git - immudex-lhe.git/commitdiff
Dodanie wywołań narzędzia notifier do motd2 - narzędzie motd2
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 22 Jul 2023 20:32:53 +0000 (22:32 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 22 Jul 2023 20:32:53 +0000 (22:32 +0200)
tools/000/motd2

index da11dccc506dfa0e2f0663eea52acd23e8d4d1f0..e9d11f6b702c5755fcf07cb3495531de983bfa22 100755 (executable)
@@ -35,15 +35,8 @@ 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 "====================================================================";
+/usr/local/bin/notifier distro;
+echo "====================================================================";
+/usr/local/bin/notifier packages;
 echo "====================================================================";