mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
FTL
has an L
in it, innit?
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
218aa03f05
commit
7d56e2a937
@ -598,7 +598,7 @@ compare_port_to_service_assigned() {
|
|||||||
# The programs we use may change at some point, so they are in a varible here
|
# The programs we use may change at some point, so they are in a varible here
|
||||||
local resolver="dnsmasq"
|
local resolver="dnsmasq"
|
||||||
local web_server="lighttpd"
|
local web_server="lighttpd"
|
||||||
local ftl="pihole-FT"
|
local ftl="pihole-FTL"
|
||||||
if [[ "${service_name}" == "${resolver}" ]] || [[ "${service_name}" == "${web_server}" ]] || [[ "${service_name}" == "${ftl}" ]]; then
|
if [[ "${service_name}" == "${resolver}" ]] || [[ "${service_name}" == "${web_server}" ]] || [[ "${service_name}" == "${ftl}" ]]; then
|
||||||
# if port 53 is dnsmasq, show it in green as it's standard
|
# if port 53 is dnsmasq, show it in green as it's standard
|
||||||
log_write "[${COL_LIGHT_GREEN}${port_number}${COL_NC}] is in use by ${COL_LIGHT_GREEN}${service_name}${COL_NC}"
|
log_write "[${COL_LIGHT_GREEN}${port_number}${COL_NC}] is in use by ${COL_LIGHT_GREEN}${service_name}${COL_NC}"
|
||||||
@ -615,7 +615,7 @@ check_required_ports() {
|
|||||||
# so we can detect any issues
|
# so we can detect any issues
|
||||||
local resolver="dnsmasq"
|
local resolver="dnsmasq"
|
||||||
local web_server="lighttpd"
|
local web_server="lighttpd"
|
||||||
local ftl="pihole-FT"
|
local ftl="pihole-FTL"
|
||||||
# Create an array for these ports in use
|
# Create an array for these ports in use
|
||||||
ports_in_use=()
|
ports_in_use=()
|
||||||
# Sort the addresses and remove duplicates
|
# Sort the addresses and remove duplicates
|
||||||
|
Loading…
Reference in New Issue
Block a user