mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +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
@ -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 New Issue
Block a user