Update nodemgmt-scripts.sh
This commit is contained in:
@@ -218,11 +218,14 @@ DELSITE(){
|
|||||||
DEL_SSL=yes
|
DEL_SSL=yes
|
||||||
fi
|
fi
|
||||||
if [ -z ${DEL_SITE+x} ]; then
|
if [ -z ${DEL_SITE+x} ]; then
|
||||||
echo
|
|
||||||
echo -e -n "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
|
echo -e -n "${idsCL[LightCyan]}Delete what site address: ${idsCL[Default]}"
|
||||||
read DEL_SITE
|
read DEL_SITE
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
if [ -z ${DEL_SSL+x} ]; then
|
||||||
|
echo -e -n "${idsCL[LightRed]}Do you also want to delete the certs for '${DEL_SITE}' as well? [y/N]${idsCL[Default]} "
|
||||||
|
read DEL_SSL
|
||||||
|
fi
|
||||||
if [ ! -z ${DEL_SITE+x} ] && [ "${DEL_SITE}" != "" ]; then
|
if [ ! -z ${DEL_SITE+x} ] && [ "${DEL_SITE}" != "" ]; then
|
||||||
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}Deleting site '${idsCL[Red]}${DEL_SITE}${idsCL[LightRed]}'...${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user