X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fi.sh;h=945c1fe3e57d93d9e6fe65a6c4e49947f60d379c;hb=6479ddb15507675ad646ebc349676662d935fb0b;hp=90edb2a5af29e340957186b614574fa7595cff77;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/scripts/core/i.sh b/scripts/core/i.sh index 90edb2a5..945c1fe3 100644 --- a/scripts/core/i.sh +++ b/scripts/core/i.sh @@ -1,28 +1,28 @@ #!/bin/bash -( -source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" -echo '###############################################################################' +echo '==============' echo echo Your user name is $USER on a computer named $(hostname). -echo Your machine platform is $(uname -m). +echo Your machine platform is $(uname -m) +if [ $OPERATING_SYSTEM == "UNIX" ]; then + which lsb_release &>/dev/null + if [ $? -eq 0 ]; then + lsb_release -a + fi +fi echo The time is $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/') echo -echo '###############################################################################' +echo '==============' echo echo You have the following files here: ls -FC echo -echo '###############################################################################' +echo '==============' echo echo You are sharing the machine with: who echo -echo '###############################################################################' -echo -echo You are running the following processes: -. $FEISTY_MEOW_SCRIPTS/users/findme.sh -echo -echo '###############################################################################' -) | less +echo '==============' +