mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-25 07:33:43 +00:00
Remove restartdns
: Redux (#5791)
This commit is contained in:
commit
5cef02e60d
3 changed files with 3 additions and 8 deletions
|
@ -777,12 +777,6 @@ gravity_Cleanup() {
|
||||||
|
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
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
|
# Print Pi-hole status if an error occurred
|
||||||
if [[ -n "${error}" ]]; then
|
if [[ -n "${error}" ]]; then
|
||||||
"${PIHOLE_COMMAND}" status
|
"${PIHOLE_COMMAND}" status
|
||||||
|
|
|
@ -39,7 +39,9 @@ pihole -g\fR
|
||||||
.br
|
.br
|
||||||
pihole status
|
pihole status
|
||||||
.br
|
.br
|
||||||
pihole restartdns\fR [options]
|
pihole reloaddns\fR
|
||||||
|
.br
|
||||||
|
pihole reloadlists\fR
|
||||||
.br
|
.br
|
||||||
\fBpihole\fR (\fBenable\fR|\fBdisable\fR [time])
|
\fBpihole\fR (\fBenable\fR|\fBdisable\fR [time])
|
||||||
.br
|
.br
|
||||||
|
|
1
pihole
1
pihole
|
@ -293,7 +293,6 @@ Options:
|
||||||
Try 'pihole logging --help' for more information."
|
Try 'pihole logging --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
restartDNS
|
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
echo -e "${OVER} ${TICK} ${str}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue