Update nodemgmt-scripts.sh
This commit is contained in:
@@ -249,17 +249,16 @@ DELSITES(){
|
|||||||
else
|
else
|
||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
echo -e -n "${idsCL[LightRed]}Are you sure you want to delete '${idsST[Bold]}${idsCL[Red]}${SITES[${selsite}]}{idsST[Reset]}${idsCL[LightRed]}'? [N/y]${idsCL[Default]} "
|
echo -e -n "${idsCL[LightRed]}Are you sure you want to delete '${idsST[Bold]}${idsCL[Red]}${SITES[${selsite}]}{idsST[Reset]}${idsCL[LightRed]}'? [y/N]${idsCL[Default]} "
|
||||||
read -n 1 response
|
read -n 1 response
|
||||||
echo ""
|
echo ""
|
||||||
if [[ $response =~ ^[Yy]$ ]]; then
|
if [[ $response =~ ^[Yy]$ ]]; then
|
||||||
echo 'delete'
|
echo 'delete'
|
||||||
else
|
ENTER2CONTINUE
|
||||||
DELSITES
|
fi
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
done
|
||||||
|
DELSITES
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
||||||
ENTER2CONTINUE
|
ENTER2CONTINUE
|
||||||
|
|||||||
Reference in New Issue
Block a user