From ae255a2a82e9f6d876167707040f1474eece6391 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Mar 2010 18:54:07 -0500 Subject: Run install routine on resync to ensure rc.d file exists --- config/apache_mod_security/apache_mod_security.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/apache_mod_security') diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 46948c37..94bdfdd2 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -103,6 +103,7 @@ function apache_mod_security_deinstall() { // Regenerate apache configuration and handle server restart function apache_mod_security_resync() { global $config, $g; + apache_mod_security_install(); if(!file_exists(rules_directory . "/10_asl_rules.conf")) exec("/usr/bin/fetch -q -o " . rules_directory . "/10_asl_rules.conf http://www.pfsense.com/packages/config/apache_mod_security/rules/10_asl_rules.conf"); if(!file_exists(rules_directory . "/a_exclude.conf")) -- cgit v1.2.3