aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-03-06 18:54:07 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-03-06 18:54:07 -0500
commitae255a2a82e9f6d876167707040f1474eece6391 (patch)
tree297d63a8bc65a3dbd8d927b7b8b009c8ef61f8f9 /config
parent667620fa6a2f9780a4aecb88a2230675d7ce8957 (diff)
downloadpfsense-packages-ae255a2a82e9f6d876167707040f1474eece6391.tar.gz
pfsense-packages-ae255a2a82e9f6d876167707040f1474eece6391.tar.bz2
pfsense-packages-ae255a2a82e9f6d876167707040f1474eece6391.zip
Run install routine on resync to ensure rc.d file exists
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc1
1 files changed, 1 insertions, 0 deletions
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"))