slightly nicer formatting but basic look of the uptime is right.
authorChris Koeritz <fred@gruntose.com>
Sat, 11 Apr 2015 03:27:11 +0000 (23:27 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 11 Apr 2015 03:27:11 +0000 (23:27 -0400)
scripts/core/inventory.sh

index c322fcf3e52a1e0ee09c419d07bb56a9c1779d9e..9390dc7464067710e269cb3ac8ab7b8e729b2b53 100644 (file)
@@ -22,7 +22,7 @@ errorfudgetime
 if [ $? -eq 0 ]; then
   up="$(uptime -p)"
 else
-  up="$(uptime | awk '{print $2 " " $3 " " $4 " plus " $1 }')"
+  up="$(uptime | awk '{print $2 " " $3 " " $4 " plus " $1 " hours" }')"
 fi
 
 echo