]> gitweb.morketsmerke.org Git - backup.git/commitdiff
Poprawienie pliku motd.
authorxf0r3m <jakubstasinski@protonmail.com>
Fri, 17 Oct 2025 09:08:39 +0000 (09:08 +0000)
committerxf0r3m <jakubstasinski@protonmail.com>
Fri, 17 Oct 2025 09:08:39 +0000 (09:08 +0000)
motd

diff --git a/motd b/motd
index 1848f00e741ec2ab957ffea612dcc08d46816fe9..b4ffe3f95856180bb7d3c4939261bab5234b8928 100755 (executable)
--- a/motd
+++ b/motd
@@ -37,7 +37,7 @@ else
 fi
 echo -e " \t$(uptime | grep -o "load.*$" | tr [a-z] [A-Z])";
 echo;
-if $(host drukarki | awk '{printf $1}' | grep -q 'zsgronowo.edu.pl'); then
+if $(host $(hostname) | awk '{printf $1}' | grep -q 'zsgronowo.edu.pl'); then
   echo -e "ZS, CKU w GRONOWIE @ 2025 https://zsgronowo.edu.pl";
 else
   echo -e "morketsmerke.org @ 2025 https://github.com/xf0r3m/immudex";