Round signal strength and mark with percent sign
[khome.git] / home / lib / login_functions.sh
index fa45b80..06444ac 100644 (file)
@@ -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.