aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound.inc
diff options
context:
space:
mode:
authordvserg <dv_serg@mail.ru>2010-11-16 23:36:51 +0300
committerdvserg <dv_serg@mail.ru>2010-11-16 23:36:51 +0300
commitd5803678ed369103ee9cf0fc673ac6414194b558 (patch)
tree5699927ee3d7f1bed70eb0770008551c757f3353 /config/unbound/unbound.inc
parent5c5d3af80df340cf1fb21284aa012246afe52261 (diff)
parentac41b26783ef609133f67d45af53a97da8698cd3 (diff)
downloadpfsense-packages-d5803678ed369103ee9cf0fc673ac6414194b558.tar.gz
pfsense-packages-d5803678ed369103ee9cf0fc673ac6414194b558.tar.bz2
pfsense-packages-d5803678ed369103ee9cf0fc673ac6414194b558.zip
Merge branch 'master' of http://gitweb.pfsense.org/pfsense-packages/mainline
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();