summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-05 00:50:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-05 00:50:45 +0000
commit5e6e5d495fc16f1922fa5b065ff59807093d04d6 (patch)
tree4eeb07a7c38f3b7eae9aa1bcbddfec32a21fffa1 /etc
parent1982ad48c10d5c945e2e0127dab571daca7df6e6 (diff)
downloadpfsense-5e6e5d495fc16f1922fa5b065ff59807093d04d6.zip
pfsense-5e6e5d495fc16f1922fa5b065ff59807093d04d6.tar.gz
Fix auto upgrade
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9ca6a3a..38b6b03 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -983,8 +983,10 @@ function auto_upgrade() {
global $config, $g;
$http_auth_username = "";
$http_auth_password = "";
- if($config['system']['proxy_auth_username'] <> "") $http_auth_username = $config['system']['proxy_auth_username'];
- if($config['system']['proxy_auth_password'] <> "") $http_auth_password = $config['system']['proxy_auth_password'];
+ if($config['system']['proxy_auth_username'] <> "")
+ $http_auth_username = $config['system']['proxy_auth_username'];
+ if($config['system']['proxy_auth_password'] <> "")
+ $http_auth_password = $config['system']['proxy_auth_password'];
if (isset($config['system']['alt_firmware_url']['enabled'])) {
$firmwareurl=$config['system']['alt_firmware_url']['firmware_base_url'];
$firmwarename=$config['system']['alt_firmware_url']['firmware_filename'];
OpenPOWER on IntegriCloud