Update nodemgmt-scripts.sh
This commit is contained in:
@@ -62,11 +62,12 @@ STATUS() {
|
||||
}
|
||||
NEWCERT(){
|
||||
echo ""
|
||||
NEW_CERT=${1}
|
||||
if [ -z ${NEW_CERT+x} ]; then
|
||||
if [ -z ${1+x} ]; then
|
||||
echo -e -n "${idsCL[LightCyan]}Create certificate for what address: ${idsCL[Default]}"
|
||||
read NEW_CERT
|
||||
echo ""
|
||||
else
|
||||
NEW_CERT=${1}
|
||||
fi
|
||||
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user