From fe38ac7b701ab3d9cb8d0043eeac800f2ab076b1 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 26 Apr 2013 08:57:30 -0300 Subject: Make sure filesystem is read/write when try to save unbound config, it helps ticket #2817 --- config/unbound/unbound.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') 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(); } -- cgit v1.2.3