From b151a2fff0671570e145eea374e97d19656106cc Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 26 Sep 2010 17:44:56 +0000
Subject: [PATCH] - Fixed a bug in bind restart code. - Updated debian
 installation instructions.

---
 docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt | 14 +++++++-------
 server/mods-available/dns_module.inc.php |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt b/docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt
index 4a93b052fc..dfdc859168 100644
--- a/docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt
+++ b/docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt
@@ -152,13 +152,13 @@ apt-get -y install vlogger webalizer
 
 apt-get -y install build-essential autoconf automake1.9 libtool flex bison debhelper
 cd /tmp
-wget http://olivier.sessink.nl/jailkit/jailkit-2.11.tar.gz
-tar xvfz jailkit-2.11.tar.gz
-cd jailkit-2.11
+wget http://olivier.sessink.nl/jailkit/jailkit-2.12.tar.gz
+tar xvfz jailkit-2.12.tar.gz
+cd jailkit-2.12
 ./debian/rules binary
 cd ..
-dpkg -i jailkit_2.11-1_*.deb
-rm -rf jailkit-2.11*
+dpkg -i jailkit_2.12-1_*.deb
+rm -rf jailkit-2.12*
 
 8) Install fail2ban (optional but recomended, because the monitor tries to show the log)
 More info at: http://www.howtoforge.com/fail2ban_debian_etch
@@ -168,8 +168,8 @@ apt-get -y install fail2ban
 9) Install ISPConfig 3
 
 cd /tmp
-wget http://www.ispconfig.org/downloads/ISPConfig-3.0.2.tar.gz
-tar xvfz ISPConfig-3.0.2.tar.gz
+wget http://www.ispconfig.org/downloads/ISPConfig-3.0.2.2.tar.gz
+tar xvfz ISPConfig-3.0.2.2.tar.gz
 cd ispconfig3_install/install/
 
 # Now start the installation process by executing:
diff --git a/server/mods-available/dns_module.inc.php b/server/mods-available/dns_module.inc.php
index 09ddc04ee9..d5c9ac7924 100644
--- a/server/mods-available/dns_module.inc.php
+++ b/server/mods-available/dns_module.inc.php
@@ -115,7 +115,7 @@ class dns_module {
 	
 	
 	function restartBind($action = 'restart') {
-		global $app;
+		global $app,$conf;
 		
 		$daemon = '';
 		if(is_file($conf['init_scripts'] . '/' . 'bind9')) {
-- 
GitLab