X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fi.sh;h=dbc5c8a93c9f5652bf88eaf6c5b587dafdfb4bb7;hb=75c2d52632eac5470a48d9b44feb336474a187d8;hp=90edb2a5af29e340957186b614574fa7595cff77;hpb=dbe3a7d9104352d69efdaa5eca600908ecc9bba8;p=feisty_meow.git diff --git a/scripts/core/i.sh b/scripts/core/i.sh index 90edb2a5..dbc5c8a9 100644 --- a/scripts/core/i.sh +++ b/scripts/core/i.sh @@ -1,12 +1,18 @@ #!/bin/bash -( -source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" +( 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 '###############################################################################'