update
This commit is contained in:
@@ -901,7 +901,7 @@ GET_SNAPSHOTS(){
|
|||||||
DIVIDER . lightGreen 70
|
DIVIDER . lightGreen 70
|
||||||
echo -en "${idsCL[LighGreen]}Looking for snapshots...${idsCL[Default]}"
|
echo -en "${idsCL[LighGreen]}Looking for snapshots...${idsCL[Default]}"
|
||||||
result=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1 ${ESXIHOST}`
|
result=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1 ${ESXIHOST}`
|
||||||
[ "${result}" != "" ] && echo -e "\033[2K\033[2A${result}" || echo -e "\033[2KNo snapshots found"
|
[ "${result}" != "" ] && echo -e "\033[2K\033[1A${result}" || echo -e "\033[1K No snapshots found"
|
||||||
DIVIDER true lightGreen 70
|
DIVIDER true lightGreen 70
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
1
run.sh
1
run.sh
@@ -48,7 +48,6 @@ if [ "${1}" == "update" ]; then
|
|||||||
fi
|
fi
|
||||||
# echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]}... "
|
# echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]}... "
|
||||||
# /opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
|
# /opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1
|
||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}\n"
|
|
||||||
|
|
||||||
elif [ "${2}" != "q" ]; then
|
elif [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
|
|||||||
Reference in New Issue
Block a user