update
This commit is contained in:
@@ -901,8 +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}`
|
||||||
echo -e "\033[2K"
|
[ "${result}" != "" ] && echo -e "\033[2K\033[1A${result}" || echo -e "\e[0K\r No snapshots found"
|
||||||
[ "${result}" != "" ] && echo -e "\033[1A${result}" || echo -e "\033[1A No snapshots found"
|
|
||||||
DIVIDER true lightGreen 70
|
DIVIDER true lightGreen 70
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -44,7 +44,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
source /opt/idssys/powerwall/defaults.inc
|
source /opt/idssys/powerwall/defaults.inc
|
||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}\n"
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user