Missed a couple of references in the previous PR

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2024-10-02 21:51:56 +01:00
parent 7dd2eb20a2
commit afdf45031f
No known key found for this signature in database
3 changed files with 3 additions and 8 deletions

View file

@ -777,12 +777,6 @@ gravity_Cleanup() {
echo -e "${OVER} ${TICK} ${str}"
# # Only restart DNS service if offline
# if ! pgrep pihole-FTL &> /dev/null; then
# "${PIHOLE_COMMAND}" restartdns
# dnsWasOffline=true
# fi
# Print Pi-hole status if an error occurred
if [[ -n "${error}" ]]; then
"${PIHOLE_COMMAND}" status

View file

@ -39,7 +39,9 @@ pihole -g\fR
.br
pihole status
.br
pihole restartdns\fR [options]
pihole reloaddns\fR
.br
pihole reloadlists\fR
.br
\fBpihole\fR (\fBenable\fR|\fBdisable\fR [time])
.br

1
pihole
View file

@ -293,7 +293,6 @@ Options:
Try 'pihole logging --help' for more information."
exit 1
fi
restartDNS
echo -e "${OVER} ${TICK} ${str}"
}