Update run.sh

This commit is contained in:
2024-08-27 21:45:03 -05:00
parent 71c5c5bf4f
commit 29569c447f

5
run.sh
View File

@@ -59,6 +59,11 @@ if [ "${1}" == "update" ]; then
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}\n"
fi
fi
if [ "${1}" == "-a" ] || [ "${1}" == "all" ]; then
echo -e "${idsCL[LightCyan]}Updating the Offsite Monitor...${idsCL[Default]}"
ssh root@${PW_OFFSITE_MONITOR} "pw update"
fi
else
${PW_SCRIPT} ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10}
fi