From 6aef822f2af358da1005ad7410faa45c8f24e871 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 17 Jul 2023 22:38:38 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index db6fcf7..e109ec7 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -813,11 +813,11 @@ SCRIPT_MENU() { clear echo echo -e " ${idsCL[LightGreen]}LinUPx - L I N U X U P D A T E S C R I P T S${idsCL[Default]} ${idsCL[White]}(ver-${VERS})${idsCL[Default]}" - echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[White]}" + echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[Default]}" echo -e "Hostname: ${idsCL[Cyan]}$(hostname -s)${idsCL[Default]}" echo -e "Domain: ${idsCL[Cyan]}$(hostname -d)${idsCL[Default]}" echo - echo -e "Updates last run on: ${idsCL[Green]}${LASTRUND} ${LASTRUNT}${idsCL[White]}" + echo -e "Updates last run on: ${idsCL[Green]}${LASTRUND} ${LASTRUNT}${idsCL[Default]}" echo "---------------------------------------------------------------------------" OS=($(detect_os)) width=14 @@ -826,32 +826,32 @@ SCRIPT_MENU() { printf "%-${width}s: %s\n" "Derivative" "${OS[2]}" printf "%-${width}s: %s\n" "Version" "${OS[3]}" printf "%-${width}s: %s\n" "Codename/Rev" "${OS[4]}" - echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[White]}" + echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[Default]}" echo - echo " [1] Check for Updates/Upgrades" - echo "*[2] Run Updates" + echo " [${idsCL[Yellow]}1${idsCL[Default]}] Check for Updates/Upgrades" + echo "*[${idsCL[Yellow]}2${idsCL[Default]}] Run Updates" if [ "$ATYPE" != 'yum' ]; then - echo " [3] Run Updates w/o updating repos" + echo " [${idsCL[Yellow]}3${idsCL[Default]}] Run Updates w/o updating repos" fi echo - echo " [4] Check for Upgrades with obsoletes enabled" - echo " [5] Run Dist-Upgrade" - echo "*[6] Run Python-Pip Upgrades" + echo " [${idsCL[Yellow]}4${idsCL[Default]}] Check for Upgrades with obsoletes enabled" + echo " [${idsCL[Yellow]}5${idsCL[Default]}] Run Dist-Upgrade" + echo "*[${idsCL[Yellow]}6${idsCL[Default]}] Run Python-Pip Upgrades" echo - echo " [9] Update/Fix Missing APT Repo Keys" + echo " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys" if [ "$ATYPE" != 'yum' ]; then - echo " [0] Enable/Disable Automatic Security Updates" + echo " [${idsCL[Yellow]}0${idsCL[Default]}] Enable/Disable Automatic Security Updates" echo fi - echo " [I] Installation Scripts" - echo " [M] Misc/Other Scripts" + echo " [${idsCL[Yellow]}I${idsCL[Default]}] Installation Scripts" + echo " [${idsCL[Yellow]}M${idsCL[Default]}] Misc/Other Scripts" echo - # echo " [L] Enable Remote Syslog" + # echo " [${idsCL[Yellow]}L${idsCL[Default]}] Enable Remote Syslog" # echo " [Config file: RemoteSyslogServer=${RemoteSyslogServer}]" # echo - echo " [R] Reboot System" - echo " [S] Shutdown System" - echo " [Q] Quit" + echo " [${idsCL[Yellow]}R${idsCL[Default]}] Reboot System" + echo " [${idsCL[Yellow]}S${idsCL[Default]}] Shutdown System" + echo " [${idsCL[Yellow]}Q${idsCL[Default]}] Quit" echo echo echo -e -n "${idsCL[Yellow]}Please select an [ActionItem] from above:${idsCL[Default]} "