From b7d4a70c2460de1d5ab361bee314e3a14eeb8b03 Mon Sep 17 00:00:00 2001 From: garywill <32130780+garywill@users.noreply.github.com> Date: Fri, 31 Aug 2018 18:41:06 +0800 Subject: [PATCH] fix dns log repeated --- lnxrouter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnxrouter b/lnxrouter index dff8177..b8a0df3 100755 --- a/lnxrouter +++ b/lnxrouter @@ -1499,7 +1499,7 @@ EOF [[ -n "$ADDN_HOSTS" ]] && echo "addn-hosts=${ADDN_HOSTS}" >> $CONFDIR/dnsmasq.conf if [[ ! "$SHOW_DNS_QUERY" -eq 0 ]]; then echo log-queries=extra >> $CONFDIR/dnsmasq.conf - echo log-facility=/dev/stdout >> $CONFDIR/dnsmasq.conf + echo log-facility=/dev/null >> $CONFDIR/dnsmasq.conf fi fi