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:
348e262
)
Round signal strength and mark with percent sign
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 31 Oct 2020 01:12:58 +0000
(21:12 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sat, 31 Oct 2020 01:12:58 +0000
(21:12 -0400)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
fa45b80
..
06444ac
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-479,7
+479,7
@@
motd() {
if (device != "lo") {
l = link[device]
e = essid[device]
- l = l ?
l
: "--"
+ l = l ?
sprintf("%.0f%%", l)
: "--"
e = e ? e : "--"
print device, address[device], e, l
}
This page took
0.022376 seconds
and
4
git commands to generate.