From ee7e18ad1e6b652df87a19ef373577069202f57f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 14 Jun 2025 15:11:46 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dsmon.sh b/dsmon.sh index e1b37c2..ef890d7 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -600,9 +600,11 @@ FIXCRONTAB(){ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then echo DIVIDER . lightGreen 85 - msg="| Disk Space Monitor (DSMon) ${idsCL[Default]}" - c=0; spc=''; spc1=`expr 70 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done - echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[DarkGray]}(ver-${VERS}) ${idsCL[LightGreen]}|${idsCL[Default]}" + msg="| Disk Space Monitor (DSMon) " + msg2="(ver-${VERS})" + c=0; spc=''; spc1=`expr 60 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done + c=0; spcB=''; spc1=`expr 25 - ${#msg2}`; until [ ${c} = ${spc1} ]; do spcB="${spcB} "; c=`expr ${c} + 1`; done + echo -e "${idsCL[LightGreen]}${msg}${idsCL[Default]}${spc}${idsCL[DarkGray]}${spcB}${idsCL[LightGreen]}|${idsCL[Default]}" DIVIDER . lightGreen 85 fi case ${ACTION} in