This commit is contained in:
2024-11-29 09:16:07 -06:00
parent 23415e69d7
commit cb324eff12
3 changed files with 55 additions and 31 deletions

View File

@@ -1162,6 +1162,15 @@ SETUPSSH(){
fi
done
}
SKIP_SERVER_CHECKS(){
if [ ! -f ${NM_TMPFOLDER}/.skip ]; then
touch ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[Yellow]}Server will be skipped from Node-Manager Status Checks ...${idsCL[Default]}"
else
rm -f ${NM_TMPFOLDER}/.skip
echo -e "${idsCL[Green]}Server has been re-enabled for Node-Manager Status Checks ...${idsCL[Default]}"
fi
}
SETUPSSH_BACK(){
echo -en "\n${idsCL[LightCyan]}Checking for Public SSH Key back to Node-Manager ... ${idsCL[Default]}"
if [ "$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@10.10.10.60 echo ok 2>&1)" == "ok" ]; then
@@ -1390,6 +1399,8 @@ GUI(){
tmp=tmp
;;
skip) SKIP_SERVER_CHECKS;;
nginxupdate)
echo
for nfile in ${NM_NGINXPATH}/sites-enabled/*.conf; do