mirror of
https://github.com/garywill/linux-router.git
synced 2026-11-12 16:50:45 +00:00
fix dns log repeated
This commit is contained in:
1 parent
d2f659117e
commit
b7d4a70c24
1 file changed
+1
-1
@@ -1499,7 +1499,7 @@ EOF
|
|||||||
[[ -n "$ADDN_HOSTS" ]] && echo "addn-hosts=${ADDN_HOSTS}" >> $CONFDIR/dnsmasq.conf
|
[[ -n "$ADDN_HOSTS" ]] && echo "addn-hosts=${ADDN_HOSTS}" >> $CONFDIR/dnsmasq.conf
|
||||||
if [[ ! "$SHOW_DNS_QUERY" -eq 0 ]]; then
|
if [[ ! "$SHOW_DNS_QUERY" -eq 0 ]]; then
|
||||||
echo log-queries=extra >> $CONFDIR/dnsmasq.conf
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user