aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-05 21:25:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-05 21:25:09 +0000
commit459df7ec9e97699d265992346e522aa3c31a9075 (patch)
tree0fc1d61b08f02e5a282eadfd492b362f27798a5b /packages/snort/snort.xml
parentb90d78fe8eb4c3606c832493d427cac2370750a7 (diff)
downloadpfsense-packages-459df7ec9e97699d265992346e522aa3c31a9075.tar.gz
pfsense-packages-459df7ec9e97699d265992346e522aa3c31a9075.tar.bz2
pfsense-packages-459df7ec9e97699d265992346e522aa3c31a9075.zip
Call the sync_package_snort() function on install so that if it was previously configured it can automatically start back up.
Diffstat (limited to 'packages/snort/snort.xml')
-rw-r--r--packages/snort/snort.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml
index c1d33cdd..8165dbe2 100644
--- a/packages/snort/snort.xml
+++ b/packages/snort/snort.xml
@@ -53,7 +53,7 @@
<prefix>/usr/local/pkg/pf/</prefix>
<chmod>077</chmod>
<item>http://www.pfsense.com/packages/config/snort/snort_dynamic_ip_reload.php</item>
- </additional_files_needed>
+ </additional_files_needed>a
<service>
<name>snort</name>
<rcfile>snort.sh</rcfile>
@@ -151,10 +151,13 @@
<type>checkbox</type>
</field>
</fields>
+ <custom_add_php_install>
+ sync_package_snort();
+ </custom_add_php_install>
<custom_add_php_command>
- sync_package_snort();
+ sync_package_snort();
</custom_add_php_command>
<custom_php_resync_command>
sync_package_snort();
</custom_php_resync_command>
-</packagegui>
+</packagegui> \ No newline at end of file