From 45fe9281d1f042bb7946e574f80d66d72807d2fe Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 May 2023 22:17:46 -0500 Subject: [PATCH] Update run.sh --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index f3b67b08..eac6bce6 100755 --- a/run.sh +++ b/run.sh @@ -3,6 +3,7 @@ source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc +source /opt/idssys/powerwall/defaults.inc source /opt/idssys/powerwall/powerwall.conf if [ "${1}" == "update" ] || [ "${1}" == "" ]; then @@ -39,9 +40,10 @@ if [ "${1}" == "update" ] || [ "${1}" == "" ]; then git pull >/dev/null 2>&1 git submodule update --remote >/dev/null 2>&1 /bin/chmod +x /opt/idssys/powerwall/powerwall.sh 2>&1 + source /opt/idssys/powerwall/defaults.inc if [ "${2}" != "q" ]; then echo -en "\e[1A"; - echo -e "\e[0K\r ${idsCL[Green]}Updates Completed${idsCL[Default]}" + echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}" fi elif [ "${2}" != "q" ]; then echo -en "\e[1A";