commit 05f679d05f193e1ee1216c2cfe27c34f8762c730
Author: David Sorber <dsorber@phalanx.fios-router.home>
Date:   Sat Jun 2 11:38:06 2018 -0400

    Minor updates after upgrading to Ubuntu 18.04.

diff --git a/software/misc/display.py b/software/misc/display.py
index 3a560a6..bcca166 100755
--- a/software/misc/display.py
+++ b/software/misc/display.py
@@ -20,8 +20,8 @@ def make_bold(string):
 def get_ipv4_addr(interface):
     cmd = 'ifconfig {:s}'.format(interface)
     for line in subprocess.check_output(cmd, shell=True).split('\n'):
-        if line.strip().startswith('inet addr:'):
-            return line.split()[1][5:]
+        if line.strip().startswith('inet '):
+            return line.split()[1]
     else:
         return '{:s}NO IP ASSIGNED{:s}'.format(RED, END)
 
@@ -34,11 +34,11 @@ def get_fs_usage(mount_point):
     line_tokens = line.split()
     
     usage_percent = int(line_tokens[4][:-1])
-    percent_str = '{:s}{:d}%{:s}'.format(BOLD, usage_percent, END)
+    percent_str = '{:s}{:>3d}%{:s}'.format(BOLD, usage_percent, END)
     if usage_percent > 90:
-        percent_str = '{:s}{:s}{:d}%{:s}'.format(BOLD, RED, usage_percent, END)
+        percent_str = '{:s}{:s}{:>3d}%{:s}'.format(BOLD, RED, usage_percent, END)
     elif usage_percent > 70:
-        percent_str = '{:s}{:s}{:d}%{:s}'.format(BOLD, YELLOW, usage_percent, END)
+        percent_str = '{:s}{:s}{:>3d}%{:s}'.format(BOLD, YELLOW, usage_percent, END)
     
     
     output = '{:10s} ({:<9s}) - {:>4s} of {:>4s} [ {:s} ] used; '\
