diff options
author | robiscool <robrob2626@yahoo.com> | 2009-12-13 16:24:23 -0800 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-12-13 16:24:23 -0800 |
commit | e35913552efea60f71bf2c3b1c9a06157d257b2e (patch) | |
tree | 5295a3b9abac9fa7befd9faefacb03fec0549c50 /config/snort-dev | |
parent | c42ee531a6fadfcce93d83099ca2cd8611a0898f (diff) | |
download | pfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.tar.gz pfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.tar.bz2 pfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.zip |
snort-dev, add more deinstall code
Diffstat (limited to 'config/snort-dev')
-rw-r--r-- | config/snort-dev/snort.inc | 4 | ||||
-rw-r--r-- | config/snort-dev/snort.xml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc index 5dfa4255..26bdee7d 100644 --- a/config/snort-dev/snort.inc +++ b/config/snort-dev/snort.inc @@ -867,6 +867,7 @@ function snort_deinstall() function snort_rm_blocked_deinstall_cron($should_install) { global $config, $g; + conf_mount_rw(); $is_installed = false; @@ -894,7 +895,8 @@ function snort_deinstall() } configure_cron(); } - conf_mount_ro(); + } + conf_mount_ro(); } function snort_rules_up_deinstall_cron($should_install) { diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml index 9b462d07..7900d07a 100644 --- a/config/snort-dev/snort.xml +++ b/config/snort-dev/snort.xml @@ -57,7 +57,7 @@ </menu> <service> <name>snort</name> - <rcfile>snort.sh</rcfile> + <rcfile></rcfile> <executable>snort</executable> <description>Snort is the most widely deployed IDS/IPS technology worldwide.</description> </service> |