Update nodemgmt-scripts.sh
This commit is contained in:
@@ -138,7 +138,7 @@ LISTCERTS(){
|
|||||||
DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS)));
|
DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS)));
|
||||||
|
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
c=1; cw=30; spc=''
|
c=0; cw=30; spc=''
|
||||||
spc1=${cw}-${#SUBJECT}
|
spc1=${cw}-${#SUBJECT}
|
||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
if [ $DUEIN -gt $CERTEXPIRE ]; then
|
if [ $DUEIN -gt $CERTEXPIRE ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user