Update nodemgmt-scripts.sh
This commit is contained in:
@@ -152,7 +152,12 @@ LISTCERTS(){
|
||||
spc="${spc} "
|
||||
c=`expr $c + 1`
|
||||
done
|
||||
echo -e "${SUBJECT}${spc}$(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}"
|
||||
if [ $DUEIN -gt $CERTEXPIRE ]; then
|
||||
date="${idsST[Bold]}${idsCL[Red]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}${idsCL[Default]}"
|
||||
else
|
||||
date="${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}"
|
||||
fi
|
||||
echo -e "${idsCL[Cyan]}${SUBJECT}${spc}${date} ${idsCL[Cyan]}${SUBJECTNAMES}${idsCL[Default]}"
|
||||
echo
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user