1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-30 21:12:23 -05:00
pi-hole/advanced/Scripts/piholeLogFlush.sh
2015-12-06 05:55:50 -08:00

12 lines
386 B
Bash
Executable File

#!/usr/bin/env bash
# Flushes /var/log/pihole.log
# (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