update
This commit is contained in:
@@ -17,8 +17,8 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
||||
|
||||
# rm -f ${NM_TMPFOLDER}/.singleserver*
|
||||
|
||||
if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ]); then
|
||||
if [ "${1^^}" == "LPD" ]; then
|
||||
if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]); then
|
||||
if [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]; then
|
||||
dnstest=$(dig +short +tries=3 +time=3 www.google.com @127.0.0.1)
|
||||
if [ "${dnstest}" == "" ] || [[ "${dnstest}" == *";;"* ]]; then
|
||||
/usr/local/bin/nmg skip on >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user