aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_post_install.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-18 21:13:23 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-18 21:13:23 -0400
commitb3690f7345eb7f2dc0b5832972f9793eeb63c5c5 (patch)
tree2409a0683c94ade9ba18fa81a355ddc3ed0f6bec /config/snort/snort_post_install.php
parentce738579b75249da4758f63628206a859ca44e4f (diff)
downloadpfsense-packages-b3690f7345eb7f2dc0b5832972f9793eeb63c5c5.tar.gz
pfsense-packages-b3690f7345eb7f2dc0b5832972f9793eeb63c5c5.tar.bz2
pfsense-packages-b3690f7345eb7f2dc0b5832972f9793eeb63c5c5.zip
Add new shell script for starting Snort package.
Diffstat (limited to 'config/snort/snort_post_install.php')
-rw-r--r--config/snort/snort_post_install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/snort/snort_post_install.php b/config/snort/snort_post_install.php
index f84cfc55..a7693f1a 100644
--- a/config/snort/snort_post_install.php
+++ b/config/snort/snort_post_install.php
@@ -305,6 +305,9 @@ if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') {
}
}
+/* Move our startup shell script to the RC directory (usually /usr/local/etc/rc.d) */
+@rename("/usr/local/pkg/snort/snort_pkg.sh", "{$rcdir}snort_pkg.sh" );
+
/* We're finished with conf partition mods, return to read-only */
conf_mount_ro();