mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-20 07:08:13 +00:00
Review comments.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
0683842ec3
commit
87f75c737a
@ -58,8 +58,7 @@ Options:
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
Escape
|
EscapeRegexp() {
|
||||||
Regexp() {
|
|
||||||
# This way we may safely insert an arbitrary
|
# This way we may safely insert an arbitrary
|
||||||
# string in our regular expressions
|
# string in our regular expressions
|
||||||
# This sed is intentionally executed in three steps to ease maintainability
|
# This sed is intentionally executed in three steps to ease maintainability
|
||||||
|
@ -1081,21 +1081,15 @@ show_adlists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_whitelist() {
|
show_whitelist() {
|
||||||
show_db_entries "Whitelist" "SELECT * FROM whitelist" "4 100 7 10 13 50"
|
show_db_entries "Exact whitelist" "SELECT * FROM whitelist" "4 100 7 10 13 50"
|
||||||
|
show_db_entries "Regex whitelist" "SELECT * FROM regex_whitelist" "4 100 7 10 13 50"
|
||||||
}
|
}
|
||||||
|
|
||||||
show_blacklist() {
|
show_blacklist() {
|
||||||
show_db_entries "Blacklist" "SELECT * FROM blacklist" "4 100 7 10 13 50"
|
show_db_entries "Exact blacklist" "SELECT * FROM blacklist" "4 100 7 10 13 50"
|
||||||
}
|
|
||||||
|
|
||||||
show_regexblacklist() {
|
|
||||||
show_db_entries "Regex blacklist" "SELECT * FROM regex_blacklist" "4 100 7 10 13 50"
|
show_db_entries "Regex blacklist" "SELECT * FROM regex_blacklist" "4 100 7 10 13 50"
|
||||||
}
|
}
|
||||||
|
|
||||||
show_regexwhitelist() {
|
|
||||||
show_db_entries "Regexwhitelist" "SELECT * FROM regex_whitelist" "4 100 7 10 13 50"
|
|
||||||
}
|
|
||||||
|
|
||||||
analyze_gravity_list() {
|
analyze_gravity_list() {
|
||||||
echo_current_diagnostic "Gravity List and Database"
|
echo_current_diagnostic "Gravity List and Database"
|
||||||
|
|
||||||
@ -1272,8 +1266,6 @@ analyze_gravity_list
|
|||||||
show_adlists
|
show_adlists
|
||||||
show_whitelist
|
show_whitelist
|
||||||
show_blacklist
|
show_blacklist
|
||||||
show_regexblacklist
|
|
||||||
show_regexwhitelist
|
|
||||||
show_content_of_pihole_files
|
show_content_of_pihole_files
|
||||||
parse_locale
|
parse_locale
|
||||||
analyze_pihole_log
|
analyze_pihole_log
|
||||||
|
Loading…
Reference in New Issue
Block a user