From ecb8fc2c5b3c1b42e15e3e44d287a650ef3b6aa6 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Wed, 27 Jan 2016 05:18:26 -0500
Subject: [PATCH] removed orphaned SPF type from one last file Added sone lines to rmeoting api description file for dns (I hope thats correct...)

---
 install/lib/installer_base.lib.php |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 41701a3..d3b3364 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -1502,22 +1502,15 @@
 
 		//* Create the slave subdirectory
 		$content .= 'slave';
-		if(!@is_dir($content)) mkdir($content, 2770, true);
+		if(!@is_dir($content)) mkdir($content, 02770, true);
 
 		//* Chown the slave subdirectory to $conf['bind']['bind_user']
 		chown($content, $conf['bind']['bind_user']);
 		chgrp($content, $conf['bind']['bind_group']);
-		chmod($content, 2770);
+		chmod($content, 02770);
 		
 		//* Install scripts for dnssec implementation
-		$this->process_bind_file('dnssec-update.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-create.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-delete.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-autoupdate.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-autopickup.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-autocreate.sh', '/server/scripts/');
-		$this->process_bind_file('dnssec-config.sh', '/server/scripts/');
-		$this->process_bind_file('named.conf.options', $conf['bind']['bind_zonefiles_dir']);
+		$this->process_bind_file('named.conf.options', '/etc/bind/', true); //TODO replace hardcoded path
 	}
 
 
@@ -2852,4 +2845,4 @@
 
 }
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1