Add support for whitelist regex filter management via CLI.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-07-22 19:35:16 +02:00
parent 65fdbc85d5
commit 96031214c6
3 changed files with 41 additions and 3 deletions
+2
View File
@@ -377,6 +377,7 @@ Whitelist/Blacklist Options:
-b, blacklist Blacklist domain(s)
--wild, wildcard Wildcard blacklist domain(s)
--regex, regex Regex blacklist domains(s)
--whiteregex Regex whitelist domains(s)
Add '-h' for more info on whitelist/blacklist usage
Debugging Options:
@@ -438,6 +439,7 @@ case "${1}" in
"-b" | "blacklist" ) listFunc "$@";;
"--wild" | "wildcard" ) listFunc "$@";;
"--regex" | "regex" ) listFunc "$@";;
"--whiteregex" | "whiteregex" ) listFunc "$@";;
"-d" | "debug" ) debugFunc "$@";;
"-f" | "flush" ) flushFunc "$@";;
"-up" | "updatePihole" ) updatePiholeFunc "$@";;