The missing bits are important.

This commit is contained in:
Promofaux 2016-09-28 21:11:25 +01:00
parent 646ee07979
commit a074e3312c

4
pihole
View file

@ -51,9 +51,9 @@ function flushFunc {
function databaseFunc {
echo "::: Importing /var/log/pihole/log to /etc/pihole/pihole.db"
python /opt/pihole/dnsmasq_parse.py
python /opt/pihole/dnsmasq_parse.py /var/log/pihole.log
echo -n "::: Flushing /var/log/pihole.log..."
echo " " > /var/log/pihole.log
${SUDO} echo " " > /var/log/pihole.log
echo " ...done!"
exit 1