Update status.inc

This commit is contained in:
2023-09-14 19:36:05 -05:00
parent e8e07e573c
commit 82e8676253

View File

@@ -333,7 +333,8 @@ STATUS(){
[ "${NTYPE}" == "WEB" ] && ([ "${docker}" == "vaultwarden" ] || [ "${docker}" == "heimdall" ] || [ "${docker}" == "authelia" ]) && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${NM_SINGLESRVR_IP['WEB']}* ]] && NOGOCHK=false || NOGOCHK=true
[ "${NTYPE}" == "LPD" ] && [ "${docker}" == "uptime-kuma" ] && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.2.1.2* ]] && NOGOCHK=false || NOGOCHK=true
echo "HERE: ${nip} - ${NTYPE} - ${docker} - ${NOGOCHK}"
[[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${NM_SINGLESRVR_IP['WEB']}* ]] && test=false || test=true
echo "HERE: ${nip} - ${NTYPE} - ${docker} - ${NOGOCHK} - ${test}"
if [ ${NOGOCHK} == true ]; then
if [ "${ST_ACTION}" != "check" ]; then