1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-12-23 07:38:50 -05:00
pi-hole/advanced/Scripts/piholeLogFlush.sh

12 lines
386 B
Bash
Raw Normal View History

2015-12-06 08:55:50 -05:00
#!/usr/bin/env bash
# Flushes /var/log/pihole.log
2015-12-06 08:55:50 -05: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