Update dsmon.sh

This commit is contained in:
2025-06-14 15:11:46 -05:00
parent 7a2cdeaf68
commit ee7e18ad1e

View File

@@ -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