2015-12-06 13:55:50 +00:00
|
|
|
#!/usr/bin/env bash
|
2016-01-30 20:12:40 +00:00
|
|
|
# Pi-hole: A black hole for Internet advertisements
|
|
|
|
# (c) 2015, 2016 by Jacob Salmela
|
|
|
|
# Network-wide ad blocking via your Raspberry Pi
|
|
|
|
# http://pi-hole.net
|
2015-11-05 20:31:38 +00:00
|
|
|
# Flushes /var/log/pihole.log
|
2015-12-06 13:55:50 +00:00
|
|
|
#
|
2016-01-30 20:12:40 +00:00
|
|
|
# Pi-hole is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
2015-12-06 13:55:50 +00:00
|
|
|
|
2016-03-04 10:00:17 +00:00
|
|
|
source /usr/local/include/pihole/piholeInclude
|
|
|
|
|
|
|
|
rerun_root "$0" "$@"
|
2016-03-02 20:49:23 +00:00
|
|
|
|
2015-11-05 20:31:38 +00:00
|
|
|
truncate -s 0 /var/log/pihole.log
|