1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-10-19 14:29:36 +00:00
pi-hole/advanced/Scripts/piholeLogFlush.sh

12 lines
386 B
Bash
Raw Normal View History

2015-12-06 13:55:50 +00:00
#!/usr/bin/env bash
# Flushes /var/log/pihole.log
2015-12-06 13:55:50 +00:00
# (c) 2015 by Jacob Salmela
# This file is part of Pi-hole.
#
#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.
truncate -s 0 /var/log/pihole.log