Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -59,7 +59,7 @@ 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
|
||||
if [ "${2}" == "-a" ] || [ "${2}" == "all" ]; then
|
||||
echo -e "${idsCL[LightCyan]}Updating the Offsite Monitor...${idsCL[Default]}"
|
||||
ssh root@${PW_OFFSITE_MONITOR} "pw update"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user