mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
reload resloved
reload resolved config if possible, restart otherwise Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
c400b914e5
commit
15f0ba839f
1 changed files with 1 additions and 2 deletions
|
@ -167,9 +167,8 @@ removeNoPurge() {
|
|||
|
||||
# Restore resolved
|
||||
if [[ -e /etc/systemd/resolved.conf.orig ]]; then
|
||||
systemctl disable systemd-resolved
|
||||
${SUDO} cp /etc/systemd/resolved.conf.orig /etc/systemd/resolved.conf
|
||||
systemctl enable systemd-resolved
|
||||
systemctl reload-or-restart systemd-resolved
|
||||
fi
|
||||
|
||||
# Remove FTL
|
||||
|
|
Loading…
Reference in a new issue