fix dns log repeated

This commit is contained in:
garywill 2018-08-31 18:41:06 +08:00 committed by garywill
parent d2f659117e
commit b7d4a70c24
1 changed files with 1 additions and 1 deletions

View File

@ -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