aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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();