update
This commit is contained in:
@@ -236,7 +236,7 @@ SERVICE(){
|
||||
${PH_CMD} rm -f ${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}/test.repl
|
||||
fi
|
||||
fi
|
||||
elif [ "${1}" = "pdns" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
|
||||
elif ([ "${1}" = "pdns" ] || [ "${1}" = "pdnsadmin" ]) && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
|
||||
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
||||
if [ "${3}" != "ns" ]; then
|
||||
if [ "${3}" != "q" ]; then
|
||||
@@ -257,7 +257,7 @@ SERVICE(){
|
||||
done
|
||||
fi
|
||||
done
|
||||
${PH_CMD} rm -f /etc/powerdns/test.repl
|
||||
${PH_CMD} rm -f ${NM_REPL_CHECK_LOC[${1}]}/test.repl
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user