added uptime to inventory.
authorChris Koeritz <fred@gruntose.com>
Wed, 8 Jan 2014 20:51:56 +0000 (15:51 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 8 Jan 2014 20:51:56 +0000 (15:51 -0500)
scripts/core/i.sh

index 945c1fe3e57d93d9e6fe65a6c4e49947f60d379c..fd2fd7350fa0b10efd15376dcc582eab8eb8bd36 100644 (file)
@@ -6,6 +6,8 @@ echo '=============='
 echo
 echo Your user name is $USER on a computer named $(hostname).
 echo Your machine platform is $(uname -m)
+echo -n Uptime: 
+uptime
 if [ $OPERATING_SYSTEM == "UNIX" ]; then
   which lsb_release &>/dev/null
   if [ $? -eq 0 ]; then