From ac41b26783ef609133f67d45af53a97da8698cd3 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 16 Nov 2010 22:31:16 +0200 Subject: Prevent the killing of php execution in case of an error. --- config/unbound/unbound.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc index dd7d3024..b4df2093 100644 --- a/config/unbound/unbound.inc +++ b/config/unbound/unbound.inc @@ -39,13 +39,13 @@ function unbound_initial_setup() { // Setup unbound mwexec("/bin/mkdir -p /usr/local/etc/unbound /usr/local/etc/unbound/dev"); - touch("/usr/local/etc/unbound/root.hints"); - touch("/usr/local/etc/unbound/root-trust-anchor"); - chown("/usr/local/etc/unbound/root-trust-anchor", "unbound"); - chgrp("/usr/local/etc/unbound/root-trust-anchor", "wheel"); - chmod("/usr/local/etc/unbound/root-trust-anchor", 0600); - unlink("/usr/local/etc/unbound/unbound.conf.sample"); - unlink("/usr/local/etc/rc.d/unbound"); + @touch("/usr/local/etc/unbound/root.hints"); + @touch("/usr/local/etc/unbound/root-trust-anchor"); + @chown("/usr/local/etc/unbound/root-trust-anchor", "unbound"); + @chgrp("/usr/local/etc/unbound/root-trust-anchor", "wheel"); + @chmod("/usr/local/etc/unbound/root-trust-anchor", 0600); + @unlink("/usr/local/etc/unbound/unbound.conf.sample"); + @unlink("/usr/local/etc/rc.d/unbound"); // Setup rc file for startup and shutdown. unbound_rc_setup(); -- cgit v1.2.3