summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-30 22:25:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-30 22:25:39 +0000
commitd08299cc618da3c43f1afbe5056458acc7bfa287 (patch)
tree9b6e36e46646ca6e353d5bfbf2a489fc567f38fb /etc
parente80df06e5982ec989cf036356de46d4f80d6fb24 (diff)
downloadpfsense-d08299cc618da3c43f1afbe5056458acc7bfa287.zip
pfsense-d08299cc618da3c43f1afbe5056458acc7bfa287.tar.gz
$config needs to be global
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 4bc0d1f..0ddeb50 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1273,6 +1273,7 @@ function configure_cron() {
}
function upnp_start() {
+ global $config;
if($config['installedpackages']['miniupnpd']['config'][0]["enable"]) {
mwexec_bg("/usr/local/sbin/miniupnpd -f /var/etc/miniupnpd.conf");
}
OpenPOWER on IntegriCloud