diff options
author | Rajkumar S <raj@pfsense.org> | 2006-06-23 13:45:59 +0000 |
---|---|---|
committer | Rajkumar S <raj@pfsense.org> | 2006-06-23 13:45:59 +0000 |
commit | 28b496f62711cce4334ec09ddc941192e7ed28e9 (patch) | |
tree | b603f4c9d5ef7b4adad67eae8d632da83d7245c3 | |
parent | d836bfae392fc8fe134705ef60553c6629cbde2d (diff) | |
download | pfsense-packages-28b496f62711cce4334ec09ddc941192e7ed28e9.tar.gz pfsense-packages-28b496f62711cce4334ec09ddc941192e7ed28e9.tar.bz2 pfsense-packages-28b496f62711cce4334ec09ddc941192e7ed28e9.zip |
Fixes a small bug in havp startup script
-rw-r--r-- | packages/havp.sh | 4 | ||||
-rw-r--r-- | packages/havp_startup.inc | 1 |
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(); ?> |