From: Chris Koeritz Date: Wed, 8 Jan 2014 20:51:56 +0000 (-0500) Subject: added uptime to inventory. X-Git-Tag: 2.140.90~841 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c382729e32b4e05533185bf8b19f7d34c3f9e2ef;p=feisty_meow.git added uptime to inventory. --- 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