home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Round signal strength and mark with percent sign
[khome.git]
/
home
/
lib
/
login_functions.sh
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.024032 seconds
and
4
git commands to generate.