aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/unbound/unbound.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index febc0777..eb27b577 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -593,7 +593,9 @@ control-cert-file: "{$unbound_base}/etc/unbound/unbound_control.pem"
EOD;
+ cont_mount_rw();
file_put_contents("{$unbound_base}/etc/unbound/unbound.conf", $unbound_conf);
+ cont_mount_ro();
}