This commit is contained in:
2025-06-03 20:56:44 -05:00
parent 76f659f45e
commit ed5c0e25a2
2 changed files with 1 additions and 3 deletions

View File

@@ -13,8 +13,6 @@ NM_FOLDER='/opt/idssys/nodemgmt'
NM_TMPFOLDER=${NM_FOLDER}/.tmp NM_TMPFOLDER=${NM_FOLDER}/.tmp
[ -f ${NM_FOLDER}/conf/defaults.local.inc ] && source ${NM_FOLDER}/defaults.inc [ -f ${NM_FOLDER}/conf/defaults.local.inc ] && source ${NM_FOLDER}/defaults.inc
SSHCMD='ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1'
[ "${TESTMODE_ENABLE^^}" == "TRUE" ] && TESTMODE=1 || TESTMODE=0 [ "${TESTMODE_ENABLE^^}" == "TRUE" ] && TESTMODE=1 || TESTMODE=0
PW_FOLDER='/opt/idssys/powerwall' PW_FOLDER='/opt/idssys/powerwall'

2
run.sh
View File

@@ -67,7 +67,7 @@ if [ "${1}" == "update" ]; then
fi fi
if [ "${2}" == "-a" ] || [ "${2}" == "all" ]; then if [ "${2}" == "-a" ] || [ "${2}" == "all" ]; then
echo -e "${idsCL[White]}Updating the Offsite Monitor...${idsCL[Default]}" echo -e "${idsCL[White]}Updating the Offsite Monitor...${idsCL[Default]}"
ssh root@${PW_OFFSITE_MONITOR} "pw update" ${SSHCMD} root@${PW_OFFSITE_MONITOR} "pw update"
fi fi
else else