home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5e42c64
)
Disable internet calls in status
author
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 25 Feb 2021 05:19:25 +0000
(
00:19
-0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 25 Feb 2021 05:19:25 +0000
(
00:19
-0500)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
8e25bc0
..
cae7b99
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-567,11
+567,11
@@
status() {
| indent "${indent_unit}${indent_unit}"
echo 'net'
| 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 '
echo "${indent_unit}if"
(ifconfig; iwconfig) 2> /dev/null \
| awk '
This page took
0.026664 seconds
and
4
git commands to generate.