aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-01 12:47:18 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-01 12:47:18 -0400
commit381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1 (patch)
tree38d494592b06c87c8a2e8101b19c4af0c71977cb /config/tinydns
parent617697ca282c304ccfe4640dfd15bb13c4808ea2 (diff)
downloadpfsense-packages-381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1.tar.gz
pfsense-packages-381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1.tar.bz2
pfsense-packages-381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1.zip
Ensure svscan.sh has a+rx
Diffstat (limited to 'config/tinydns')
-rw-r--r--config/tinydns/tinydns.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc
index b5e43293..afa258fb 100644
--- a/config/tinydns/tinydns.inc
+++ b/config/tinydns/tinydns.inc
@@ -53,6 +53,10 @@ function tinydns_custom_php_install_command() {
log_error("Could not open /usr/local/etc/rc.d/svscan.sh for writing.");
return;
}
+
+ // Ensure svscan.sh has a+rx
+ exec("chmod a+rx /usr/local/etc/rc.d/svscan.sh");
+
$ipaddress = $config['installedpackages']['tinydns']['config'][0]['ipaddress'];
$minsegment = "10240";