Merge branch 'development' into new/gravitydb

# Conflicts:
#	advanced/Scripts/list.sh
#	gravity.sh
#	pihole
This commit is contained in:
Mcat12 2019-05-12 15:20:52 -07:00
commit 8e1bf6e3d4
No known key found for this signature in database
GPG key ID: ABB8FC9789AF524D
8 changed files with 74 additions and 27 deletions

View file

@ -324,6 +324,7 @@ dhcp-option=option:router,${DHCP_ROUTER}
dhcp-leasefile=/etc/pihole/dhcp.leases
#quiet-dhcp
" > "${dhcpconfig}"
chmod 644 "${dhcpconfig}"
if [[ "${PIHOLE_DOMAIN}" != "none" ]]; then
echo "domain=${PIHOLE_DOMAIN}" >> "${dhcpconfig}"
@ -541,11 +542,13 @@ addAudit()
do
echo "${var}" >> /etc/pihole/auditlog.list
done
chmod 644 /etc/pihole/auditlog.list
}
clearAudit()
{
echo -n "" > /etc/pihole/auditlog.list
chmod 644 /etc/pihole/auditlog.list
}
SetPrivacyLevel() {