summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_auto.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_firmware_auto.php')
-rwxr-xr-xusr/local/www/system_firmware_auto.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php
index 285eed2..6994be6 100755
--- a/usr/local/www/system_firmware_auto.php
+++ b/usr/local/www/system_firmware_auto.php
@@ -35,9 +35,11 @@ require("guiconfig.inc");
$curcfg = $config['system']['firmware'];
-if(isset($curcfg['alturl']['enable'])
+if(isset($curcfg['alturl']['enable']))
$updater_url = "{$config['system']['firmware']['alturl']['firmwareurl']}";
-
+else
+ $updater_url = $g['update_url'];
+
$pgtitle = array("Diagnostics","Firmware","Auto Update");
include("head.inc");
OpenPOWER on IntegriCloud