local-unbound-setup: Disable the libc subscriber.
This is the correct way to prevent resolvconf from updating resolv.conf. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D39262
This commit is contained in:
@@ -195,7 +195,7 @@ do_not_edit() {
|
||||
gen_resolvconf_conf() {
|
||||
local style="$1"
|
||||
do_not_edit
|
||||
echo "resolv_conf=\"/dev/null\" # prevent updating ${resolv_conf}"
|
||||
echo "libc=\"NO\""
|
||||
if [ "${style}" = "dynamic" ] ; then
|
||||
echo "unbound_conf=\"${forward_conf}\""
|
||||
echo "unbound_pid=\"${pidfile}\""
|
||||
|
||||
Reference in New Issue
Block a user