mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-05-08 17:04:13 +02:00
reference that script
This commit is contained in:
parent
612e22135f
commit
04277e20ad
1 changed files with 1 additions and 3 deletions
4
pihole
4
pihole
|
@ -52,9 +52,7 @@ function flushFunc {
|
||||||
function databaseFunc {
|
function databaseFunc {
|
||||||
echo "::: Importing /var/log/pihole/log to /etc/pihole/pihole.db"
|
echo "::: Importing /var/log/pihole/log to /etc/pihole/pihole.db"
|
||||||
python /opt/pihole/dnsmasq_parse.py /var/log/pihole.log
|
python /opt/pihole/dnsmasq_parse.py /var/log/pihole.log
|
||||||
echo -n "::: Flushing /var/log/pihole.log..."
|
${SUDO} /opt/pihole/piholeLogFlush.sh
|
||||||
${SUDO} echo " " > /var/log/pihole.log
|
|
||||||
echo " ...done!"
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue