aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound.inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2010-11-16 22:31:16 +0200
committerWarren Baker <warren@decoy.co.za>2010-11-16 22:31:16 +0200
commitac41b26783ef609133f67d45af53a97da8698cd3 (patch)
tree26f098ebe8321d67a72c862871ae5ffe1699f418 /config/unbound/unbound.inc
parentf4bcf874e5a43a485de899fbadf793f15a453b4d (diff)
downloadpfsense-packages-ac41b26783ef609133f67d45af53a97da8698cd3.tar.gz
pfsense-packages-ac41b26783ef609133f67d45af53a97da8698cd3.tar.bz2
pfsense-packages-ac41b26783ef609133f67d45af53a97da8698cd3.zip
Prevent the killing of php execution in case of an error.
Diffstat (limited to 'config/unbound/unbound.inc')
-rw-r--r--config/unbound/unbound.inc14
1 files 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();