From e991d2c4c05fd12451cf5d1b5619bd8b0d667a7a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 31 Jan 2019 22:51:22 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 27a75e9..b6c1311 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -361,14 +361,15 @@ SCRIPT_MENU() { echo "" echo -e "Last run: ${Green}${LASTRUND} ${LASTRUNT}${Color_Off}" echo "---------------------------------------------------------------------------" - if type lsb_release &>/dev/null; then - lsb_release -i - lsb_release -d - lsb_release -r - lsb_release -c - else - cat /etc/*release - fi + detect_os + #if type lsb_release &>/dev/null; then + # lsb_release -i + # lsb_release -d + # lsb_release -r + # lsb_release -c + #else + # cat /etc/*release + #fi #cat /proc/cpuinfo | grep 'model name' #cat /proc/cpuinfo | grep 'cpu cores' #cat /proc/cpuinfo | grep 'stepping'