1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-23 07:18:07 +00:00

Suppress logging of DHCP actions to /var/log/pihole.log

This commit is contained in:
DL6ER 2016-12-12 17:14:52 +01:00
parent 8dc0dc4d69
commit bc91716082

View File

@ -133,6 +133,9 @@ EnableDHCP(){
echo "dhcp-authoritative" >> /etc/dnsmasq.d/01-pihole.conf echo "dhcp-authoritative" >> /etc/dnsmasq.d/01-pihole.conf
# Use the specified file to store DHCP lease information # Use the specified file to store DHCP lease information
echo "dhcp-leasefile=/etc/pihole/dhcp.leases" >> /etc/dnsmasq.d/01-pihole.conf echo "dhcp-leasefile=/etc/pihole/dhcp.leases" >> /etc/dnsmasq.d/01-pihole.conf
# Suppress logging of the routine operation of these protocols. Errors and problems will still be logged, though.
echo "quiet-dhcp" >> /etc/dnsmasq.d/01-pihole.conf
echo "quiet-dhcp6" >> /etc/dnsmasq.d/01-pihole.conf
RestartDNS RestartDNS
} }