aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-23 22:17:34 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-23 22:17:34 -0400
commite75c2befeef9554e0f5ad5c86051e2a79d76ba8d (patch)
treed15e6af5697c6b336ddc04b1f4833c312c0a68fc /config/apache_mod_security
parent51a7f9ee7513ef18ebfb7483988314ab413b33f4 (diff)
downloadpfsense-packages-e75c2befeef9554e0f5ad5c86051e2a79d76ba8d.tar.gz
pfsense-packages-e75c2befeef9554e0f5ad5c86051e2a79d76ba8d.tar.bz2
pfsense-packages-e75c2befeef9554e0f5ad5c86051e2a79d76ba8d.zip
Stop service on deinstall
Diffstat (limited to 'config/apache_mod_security')
-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 3fc81f85..1c2fccbb 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -84,6 +84,7 @@ function apache_mod_security_install() {
// Deinstall package routines
function apache_mod_security_deinstall() {
global $config, $g;
+ apache_mod_security_stop();
exec("/bin/rm -rf /usr/local/apachemodsecurity");
exec("/bin/rm -f /usr/local/etc/rc.d/apache_mod_security.sh");
}