Backend additions for aufit log feature (#1399)

pull/1549/head^2
DL6ER 7 years ago committed by GitHub
parent 89a22ded54
commit e9d81fc883

@ -441,6 +441,11 @@ Teleporter() {
php /var/www/html/admin/scripts/pi-hole/php/teleporter.php > "pi-hole-teleporter_${datetimestamp}.zip"
}
audit()
{
echo "${args[2]}" >> /etc/pihole/auditlog.list
}
main() {
args=("$@")
@ -467,6 +472,7 @@ main() {
"-i" | "interface" ) SetListeningMode "$@";;
"-t" | "teleporter" ) Teleporter;;
"adlist" ) CustomizeAdLists;;
"audit" ) audit;;
* ) helpFunc;;
esac

Loading…
Cancel
Save