Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 21:50:06 -06:00
parent 0d52e51a9d
commit 2f7fd629b6

View File

@@ -218,7 +218,7 @@ DELSITE(){
}
DELSITES(){
echo -e "${idsCL[Green]}Select a site to delete...${idsCL[Default]}"
echo -e "${idsCL[Red]}Select a site to delete...${idsCL[Default]}"
DIVIDER true
sid=1
for siteconf in /etc/nginx/sites-available/* ; do
@@ -226,18 +226,18 @@ DELSITES(){
SITES[${sid}]=${site_conf[4]}
sid=`expr $sid + 1`
done
while :
do
for s in "${!SITES[@]}"; do
echo " [${s}] ${SITES[${s}]}"
done
echo ""
echo " [Q] Quit"
echo ""
echo ""
echo -e -n "${idsCL[LightYellow]}Please select a site from above from above:${idsCL[Default]} "
read -n 2 selsite
for s in "${!SITES[@]}"; do
echo " [${s}] ${SITES[${s}]}"
done
echo ""
if [ -z $action ] || [ "${action}" = "gui" ]; then
echo " [B] Back"
fi
echo " [Q] Quit"
echo ""
echo ""
echo -e -n "${idsCL[LightYellow]}Please select a site from above from above:${idsCL[Default]} "
read -n 2 selsite
echo $selsite
if [ -z $action ] || [ "${action}" = "gui" ]; then
ENTER2CONTINUE