Update nodemgmt-scripts.sh
This commit is contained in:
@@ -212,17 +212,16 @@ DELSITE(){
|
|||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z ${DEL_SSL+x} ] || [[ $DEL_SSL =~ ^[Nn]$ ]]; then
|
|
||||||
DEL_SSL=no
|
|
||||||
elif [[ $DEL_SSL =~ ^[Yy]$ ]]; then
|
|
||||||
DEL_SSL=yes
|
|
||||||
fi
|
|
||||||
if [ -z ${DEL_SITE+x} ]; then
|
if [ -z ${DEL_SITE+x} ]; then
|
||||||
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
|
if [[ $DEL_SSL =~ ^[Nn]$ ]]; then
|
||||||
|
DEL_SSL=no
|
||||||
|
elif [[ $DEL_SSL =~ ^[Yy]$ ]]; then
|
||||||
|
DEL_SSL=yes
|
||||||
|
elif [ -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]} "
|
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
|
read DEL_SSL
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user