Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 11:49:17 -06:00
parent a62fe4170b
commit 1d9fb16bc4

View File

@@ -70,6 +70,7 @@ NEWCERT(){
else else
NEW_CERT=${1} NEW_CERT=${1}
fi fi
if [ "${NEW_>CERT}" != "" ]; then
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
echo "" echo ""
do_with_root $CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT} do_with_root $CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT}
@@ -89,6 +90,12 @@ NEWCERT(){
DIVIDER true DIVIDER true
ENTER2CONTINUE ENTER2CONTINUE
fi fi
else
echo "You havent entered a site address."
sleep 1
NEWCERT
exit 0
fi
} }
CERTRENEW(){ CERTRENEW(){