summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorjim-p <jpingle@gmail.com>2009-12-27 12:44:31 -0500
committerjim-p <jpingle@gmail.com>2009-12-27 12:45:17 -0500
commita7503d91247e5820a1480e123b54de0fa8055c9c (patch)
tree8f6a91930af8c308e22736680cf23821a294fc0a /etc/inc/services.inc
parentd248239bb03a4ddfc6e41c28ef350cd12a1f27b5 (diff)
downloadpfsense-a7503d91247e5820a1480e123b54de0fa8055c9c.zip
pfsense-a7503d91247e5820a1480e123b54de0fa8055c9c.tar.gz
Change this include to a require_once(), it was causing an error on boot.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 4c519a6..2e54a2a 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1263,7 +1263,7 @@ function upnp_start() {
if($config['installedpackages']['miniupnpd']['config'][0]['enable']) {
if($g['booting']) {
echo "Starting UPnP service... ";
- include('/usr/local/pkg/miniupnpd.inc');
+ require_once('/usr/local/pkg/miniupnpd.inc');
sync_package_miniupnpd();
echo "done.\n";
}
OpenPOWER on IntegriCloud