aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/havp.sh4
-rw-r--r--packages/havp_startup.inc1
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/havp.sh b/packages/havp.sh
index 316fdcc1..2163762c 100644
--- a/packages/havp.sh
+++ b/packages/havp.sh
@@ -41,8 +41,8 @@ rc_start()
else
echo "Starting HAVP Antivirus HTTP Proxy"
/usr/local/sbin/havp &
- sleep 4
- /usr/local/pkg/havp_startup.inc
+ sleep 4
+ /usr/local/bin/php -q /usr/local/pkg/havp_startup.inc&
if [ -f $pidfile ]
then
pid=$(sed 's/ //g' $pidfile)
diff --git a/packages/havp_startup.inc b/packages/havp_startup.inc
index fe5cec2c..eb4cd31a 100644
--- a/packages/havp_startup.inc
+++ b/packages/havp_startup.inc
@@ -6,6 +6,7 @@ require_once('service-utils.inc');
require_once('pkg-utils.inc');
require_once('pfsense-utils.inc');
require_once('/usr/local/pkg/havp.inc');
+global $config;
transparency_init();
?>