From 713423d0746543e393a72bfe1a600d024d064485 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 25 Feb 2021 00:19:25 -0500 Subject: [PATCH] Disable internet calls in status --- home/lib/login_functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 8e25bc0..cae7b99 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -567,11 +567,11 @@ status() { | indent "${indent_unit}${indent_unit}" echo 'net' - local -r internet_addr=$(internet_addr 0.5) - local -r internet_ptr=$(host -W 1 "$internet_addr" | awk 'NR == 1 {print $NF}' ) + #local -r internet_addr=$(internet_addr 0.5) + #local -r internet_ptr=$(host -W 1 "$internet_addr" | awk 'NR == 1 {print $NF}' ) - echo "${indent_unit}internet" - echo "${indent_unit}${indent_unit}$internet_addr $internet_ptr" + #echo "${indent_unit}internet" + #echo "${indent_unit}${indent_unit}$internet_addr $internet_ptr" echo "${indent_unit}if" (ifconfig; iwconfig) 2> /dev/null \ | awk ' -- 2.20.1