From e76fb5058a25b5ee1f35f45e2fd3a5031d4b28e2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 31 Aug 2008 05:46:04 -0400
Subject: [PATCH] - Fixed style of the headline on the tools page.

---
 server/plugins-available/firewall_plugin.inc.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/plugins-available/firewall_plugin.inc.php b/server/plugins-available/firewall_plugin.inc.php
index 4c8c467..3c1568d 100644
--- a/server/plugins-available/firewall_plugin.inc.php
+++ b/server/plugins-available/firewall_plugin.inc.php
@@ -85,7 +85,7 @@
 		}
 		$udp_ports = trim($udp_ports);
 		
-		
+		$app->load('tpl');
 		$tpl = new tpl();
 		$tpl->newTemplate("bastille-firewall.cfg.master");
 		
@@ -102,7 +102,7 @@
 			$app->log('Restarting the firewall',LOGLEVEL_DEBUG);
 		} else {
 			exec('/etc/init.d/bastille-firewall stop');
-			if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove');
+			if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove');
 			$app->log('Stopping the firewall',LOGLEVEL_DEBUG);
 		}
 		
@@ -113,7 +113,7 @@
 		global $app, $conf;
 		
 		exec('/etc/init.d/bastille-firewall stop');
-		if(@is_file('/etc/debian_version')) exec('update-rc.d bastille-firewall remove');
+		if(@is_file('/etc/debian_version')) exec('update-rc.d -f bastille-firewall remove');
 		$app->log('Stopping the firewall',LOGLEVEL_DEBUG);
 		
 	}

--
Gitblit v1.9.1