mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +00:00
Suppress logging of DHCP actions to /var/log/pihole.log
This commit is contained in:
parent
8dc0dc4d69
commit
bc91716082
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue