From 6e7dfef790fd99ce49c4c0fe0560f94595bce0fe Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Mon, 19 Dec 2016 10:42:50 +0700 Subject: [PATCH] Local IP [Minix]: Deleted case in Linux/BSD/Solaris' local_ip --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 8982916f..dd7de0f0 100755 --- a/neofetch +++ b/neofetch @@ -1658,7 +1658,7 @@ get_battery() { get_local_ip() { case "$os" in - "Linux" | "BSD" | "Solaris" | "MINIX") + "Linux" | "BSD" | "Solaris") local_ip="$(ip route get 1 | awk '{print $NF;exit}')" [[ -z "$local_ip" ]] && local_ip="$(ifconfig | awk '/broadcast/ {print $2}')" ;;