From 85c27d7aa8e76032f235b25cf2df215efe5583f7 Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 27 Feb 2018 22:31:11 +0100 Subject: [PATCH] fix --- bash.bashrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bash.bashrc b/bash.bashrc index 4c7e547..ac039fc 100755 --- a/bash.bashrc +++ b/bash.bashrc @@ -69,9 +69,7 @@ echo -e "\033[1;33m Macs: \033[0m" `ip link | grep ether` echo -e "\033[1;33m Hostname: \033[0m" `hostname` echo -e "\033[1;33m Benutzer: \033[0m" `whoami` echo -e "\033[1;33m Grafikkarte: \033[0m" `lspci | grep -e VGA -e 3D -m 1` -if sudo ping -c1 google.de 1>/dev/null 2>&1; then -echo -e "\033[1;33m Öffentliche IP: \033[0m" `wget -qO- ipv4.icanhazip.com` -fi +echo -e "\033[1;33m Öffentliche IP: \033[0m" `wget -qO- ipv4.icanhazip.com || echo "Gescheitert"` echo -e "==============================================================================================" echo -e "User Anschluß Seit von" /usr/bin/who