mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-18 20:10:56 +00:00
Remove man page for pihole-FTL
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
137e6dc184
commit
f7b9d70054
@ -1253,12 +1253,14 @@ install_manpage() {
|
|||||||
fi
|
fi
|
||||||
# Testing complete, copy the files & update the man db
|
# Testing complete, copy the files & update the man db
|
||||||
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole.8 /usr/local/share/man/man8/pihole.8
|
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole.8 /usr/local/share/man/man8/pihole.8
|
||||||
install -D -m 644 -T ${PI_HOLE_LOCAL_REPO}/manpages/pihole-FTL.8 /usr/local/share/man/man8/pihole-FTL.8
|
|
||||||
|
|
||||||
# remove previously installed "pihole-FTL.conf.5" man page
|
# remove previously installed man pages
|
||||||
if [[ -f "/usr/local/share/man/man5/pihole-FTL.conf.5" ]]; then
|
if [[ -f "/usr/local/share/man/man5/pihole-FTL.conf.5" ]]; then
|
||||||
rm /usr/local/share/man/man5/pihole-FTL.conf.5
|
rm /usr/local/share/man/man5/pihole-FTL.conf.5
|
||||||
fi
|
fi
|
||||||
|
if [[ -f "/usr/local/share/man/man5/pihole-FTL.8" ]]; then
|
||||||
|
rm /usr/local/share/man/man5/pihole-FTL.8
|
||||||
|
fi
|
||||||
|
|
||||||
if mandb -q &>/dev/null; then
|
if mandb -q &>/dev/null; then
|
||||||
# Updated successfully
|
# Updated successfully
|
||||||
@ -1267,7 +1269,7 @@ install_manpage() {
|
|||||||
else
|
else
|
||||||
# Something is wrong with the system's man installation, clean up
|
# Something is wrong with the system's man installation, clean up
|
||||||
# our files, (leave everything how we found it).
|
# our files, (leave everything how we found it).
|
||||||
rm /usr/local/share/man/man8/pihole.8 /usr/local/share/man/man8/pihole-FTL.8
|
rm /usr/local/share/man/man8/pihole.8
|
||||||
printf "%b %b man page db not updated, man pages not installed\\n" "${OVER}" "${CROSS}"
|
printf "%b %b man page db not updated, man pages not installed\\n" "${OVER}" "${CROSS}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -1,154 +0,0 @@
|
|||||||
.TH "Pihole-FTL" "8" "pihole-FTL" "Pi-hole" "November 2020"
|
|
||||||
.SH "NAME"
|
|
||||||
pihole-FTL - Pi-hole : The Faster-Than-Light (FTL) Engine
|
|
||||||
.br
|
|
||||||
.SH "SYNOPSIS"
|
|
||||||
\fBservice pihole-FTL \fR(\fBstart\fR|\fBstop\fR|\fBrestart\fR)
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBpihole-FTL debug\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL test\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL -v|-vv\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL -t\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL -b\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL -f\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL -h\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL dnsmasq-test\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL regex-test str\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL regex-test str rgx\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL lua\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL luac\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL dhcp-discover\fR
|
|
||||||
.br
|
|
||||||
\fBpihole-FTL --\fR (\fBoptions\fR)
|
|
||||||
.br
|
|
||||||
|
|
||||||
.SH "DESCRIPTION"
|
|
||||||
Pi-hole : The Faster-Than-Light (FTL) Engine is a lightweight, purpose-built daemon used to provide statistics needed for the Pi-hole Web Interface, and its API can be easily integrated into your own projects. Although it is an optional component of the Pi-hole ecosystem, it will be installed by default to provide statistics. As the name implies, FTL does its work \fIvery\fR \fIquickly\fR!
|
|
||||||
.br
|
|
||||||
|
|
||||||
Usage
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBservice pihole-FTL start\fR
|
|
||||||
.br
|
|
||||||
Start the pihole-FTL daemon
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBservice pihole-FTL stop\fR
|
|
||||||
.br
|
|
||||||
Stop the pihole-FTL daemon
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBservice pihole-FTL restart\fR
|
|
||||||
.br
|
|
||||||
If the pihole-FTP daemon is running, stop and then start, otherwise start.
|
|
||||||
.br
|
|
||||||
|
|
||||||
Command line arguments
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBdebug\fR
|
|
||||||
.br
|
|
||||||
Don't go into daemon mode (stay in foreground) + more verbose logging
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBtest\fR
|
|
||||||
.br
|
|
||||||
Start FTL and process everything, but shut down immediately afterwards
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-v, version\fR
|
|
||||||
.br
|
|
||||||
Don't start FTL, show only version
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-vv\fR
|
|
||||||
.br
|
|
||||||
Don't start FTL, show verbose version information of embedded applications
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-t, tag\fR
|
|
||||||
.br
|
|
||||||
Don't start FTL, show only git tag
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-b, branch\fR
|
|
||||||
.br
|
|
||||||
Don't start FTL, show only git branch FTL was compiled from
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-f, no-daemon\fR
|
|
||||||
.br
|
|
||||||
Don't go into background (daemon mode)
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB-h, help\fR
|
|
||||||
.br
|
|
||||||
Don't start FTL, show help
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBdnsmasq-test\fR
|
|
||||||
.br
|
|
||||||
Test resolver config file syntax
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBregex-test str\fR
|
|
||||||
.br
|
|
||||||
Test str against all regular expressions in the database
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBregex-test str rgx\fR
|
|
||||||
.br
|
|
||||||
Test str against regular expression given by rgx
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBlua\fR
|
|
||||||
.br
|
|
||||||
Start the embedded Lua interpreter
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBluac\fR
|
|
||||||
.br
|
|
||||||
Execute the embedded Lua compiler
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBdhcp-discover\fR
|
|
||||||
.br
|
|
||||||
Discover DHCP servers in the local network
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fB--\fR (options)
|
|
||||||
.br
|
|
||||||
Pass options to internal dnsmasq resolver
|
|
||||||
.br
|
|
||||||
.SH "EXAMPLE"
|
|
||||||
Command line arguments can be arbitrarily combined, e.g:
|
|
||||||
.br
|
|
||||||
|
|
||||||
\fBpihole-FTL debug test\fR
|
|
||||||
.br
|
|
||||||
|
|
||||||
Start ftl in foreground with more verbose logging, process everything and shutdown immediately
|
|
||||||
.br
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
\fBpihole\fR(8)
|
|
||||||
.br
|
|
||||||
\fBFor FTL's config options please see https://docs.pi-hole.net/ftldns/configfile/\fR
|
|
||||||
.br
|
|
||||||
.SH "COLOPHON"
|
|
||||||
|
|
||||||
Get sucked into the latest news and community activity by entering Pi-hole's orbit. Information about Pi-hole, and the latest version of the software can be found at https://pi-hole.net
|
|
||||||
.br
|
|
@ -174,11 +174,6 @@ def test_installPihole_fresh_install_readableFiles(host):
|
|||||||
)
|
)
|
||||||
actual_rc = host.run(check_man).rc
|
actual_rc = host.run(check_man).rc
|
||||||
assert exit_status_success == actual_rc
|
assert exit_status_success == actual_rc
|
||||||
check_man = test_cmd.format(
|
|
||||||
"r", "/usr/local/share/man/man8/pihole-FTL.8", piholeuser
|
|
||||||
)
|
|
||||||
actual_rc = host.run(check_man).rc
|
|
||||||
assert exit_status_success == actual_rc
|
|
||||||
# check not readable sudoers file
|
# check not readable sudoers file
|
||||||
check_sudo = test_cmd.format("r", "/etc/sudoers.d/pihole", piholeuser)
|
check_sudo = test_cmd.format("r", "/etc/sudoers.d/pihole", piholeuser)
|
||||||
actual_rc = host.run(check_sudo).rc
|
actual_rc = host.run(check_sudo).rc
|
||||||
|
Loading…
Reference in New Issue
Block a user