mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-26 06:40:17 +00:00
Remove lighttpd config test
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
635b4e952f
commit
15be8eeffa
1 changed files with 0 additions and 15 deletions
|
@ -868,20 +868,6 @@ ftl_full_status(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
lighttpd_test_configuration(){
|
|
||||||
# let lighttpd test it's own configuration
|
|
||||||
local lighttpd_conf_test
|
|
||||||
echo_current_diagnostic "Lighttpd configuration test"
|
|
||||||
lighttpd_conf_test=$(lighttpd -tt -f /etc/lighttpd/lighttpd.conf)
|
|
||||||
if [ -z "${lighttpd_conf_test}" ]; then
|
|
||||||
# empty output
|
|
||||||
log_write "${TICK} ${COL_GREEN}No error in lighttpd configuration${COL_NC}"
|
|
||||||
else
|
|
||||||
log_write "${CROSS} ${COL_RED}Error in lighttpd configuration${COL_NC}"
|
|
||||||
log_write " ${lighttpd_conf_test}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
make_array_from_file() {
|
make_array_from_file() {
|
||||||
local filename="${1}"
|
local filename="${1}"
|
||||||
# The second argument can put a limit on how many line should be read from the file
|
# The second argument can put a limit on how many line should be read from the file
|
||||||
|
@ -1419,7 +1405,6 @@ check_name_resolution
|
||||||
check_dhcp_servers
|
check_dhcp_servers
|
||||||
process_status
|
process_status
|
||||||
ftl_full_status
|
ftl_full_status
|
||||||
lighttpd_test_configuration
|
|
||||||
parse_pihole_toml
|
parse_pihole_toml
|
||||||
analyze_ftl_db
|
analyze_ftl_db
|
||||||
analyze_gravity_list
|
analyze_gravity_list
|
||||||
|
|
Loading…
Reference in a new issue