From: xf0r3m Date: Sat, 22 Jul 2023 20:32:53 +0000 (+0200) Subject: Dodanie wywołań narzędzia notifier do motd2 - narzędzie motd2 X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=572bc93fa3fa3bcf8563ad5383f66a817151dea7;p=immudex-lhe.git Dodanie wywołań narzędzia notifier do motd2 - narzędzie motd2 --- diff --git a/tools/000/motd2 b/tools/000/motd2 index da11dcc..e9d11f6 100755 --- a/tools/000/motd2 +++ b/tools/000/motd2 @@ -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 "====================================================================";