Update dsmon.sh
This commit is contained in:
6
dsmon.sh
6
dsmon.sh
@@ -599,11 +599,11 @@ FIXCRONTAB(){
|
|||||||
|
|
||||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
||||||
echo
|
echo
|
||||||
DIVIDER . lightGreen 70
|
DIVIDER . lightGreen 85
|
||||||
msg="| Disk Space Monitor (DSMon) ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})"
|
msg="| Disk Space Monitor (DSMon) ${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})"
|
||||||
c=0; spc=''; spc1=`expr 81 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
c=0; spc=''; spc1=`expr 96 - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}|${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}${msg}${spc}${idsCL[LightGreen]}|${idsCL[Default]}"
|
||||||
DIVIDER . lightGreen 70
|
DIVIDER . lightGreen 85
|
||||||
fi
|
fi
|
||||||
case ${ACTION} in
|
case ${ACTION} in
|
||||||
check) CHECK ${2};;
|
check) CHECK ${2};;
|
||||||
|
|||||||
Reference in New Issue
Block a user