From c382729e32b4e05533185bf8b19f7d34c3f9e2ef Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 8 Jan 2014 15:51:56 -0500 Subject: [PATCH] added uptime to inventory. --- scripts/core/i.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/core/i.sh b/scripts/core/i.sh index 945c1fe3..fd2fd735 100644 --- a/scripts/core/i.sh +++ b/scripts/core/i.sh @@ -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 -- 2.34.1