mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Update basic-install.sh
Force reloading of relsolved config where available Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
a431c829cb
commit
c400b914e5
1 changed files with 1 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ disable_resolved_stublistener() {
|
|||
# Make a backup of the original /etc/systemd/resolved.conf
|
||||
# (This will need to be restored on uninstallation)
|
||||
sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf
|
||||
systemctl restart systemd-resolved
|
||||
systemctl reload-or-restart systemd-resolved
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue