summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-14 20:49:01 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-14 20:49:01 -0400
commit82cab169ff5be8e731d09e50951432891b9955b9 (patch)
tree1ea897757d00fdc2931a28c32b4b01ee06cd0d13
parentd0f6edc82a58a07f546a9add538302d338888b5d (diff)
downloadpfsense-82cab169ff5be8e731d09e50951432891b9955b9.zip
pfsense-82cab169ff5be8e731d09e50951432891b9955b9.tar.gz
Move firmware update text format to globals.inc
-rw-r--r--etc/inc/globals.inc3
-rwxr-xr-xusr/local/www/system_firmware.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 46da1c1..bb26ee8 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -74,6 +74,7 @@ $g = array(
"embeddedbootupslice" => "/dev/ad0a",
"update_url" => "http://updates.pfSense.com/_updaters",
"update_manifest" => "http://updates.pfSense.com/manifest",
+ "firmware_update_text" => "(pfSense-*.tgz)",
"wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan|rum)/",
"vlan_native_supp" => array("vge", "bfe", "dc", "fxp", "gem", "hme", "rl", "sis", "ste", "tl", "tx", "xl"),
"vlan_long_frame" => array("vge", "bfe", "bge", "dc", "em", "fxp", "gem", "hme", "ixgb", "le", "msk", "nge", "re", "rl", "sis", "sk", "ste", "ti", "tl", "tx", "txp", "vr", "xl", "bce", "ixgbe" )
@@ -85,4 +86,4 @@ $iptos = array("lowdelay", "throughput", "reliability");
/* TCP flags */
$tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
-?>
+?> \ No newline at end of file
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 8e668bd..fcecfae 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -197,7 +197,7 @@ print_info_box($sig_warning);
<td width="22%" valign="baseline" class="vncell">&nbsp;</td>
<td width="78%" class="vtable">
<p>Click &quot;Enable firmware
- upload&quot; below, then choose the image file (<?=$g['platform'];?>-*.tgz)
+ upload&quot; below, then choose the image file (<?=$g['firmware_update_text'];?>)
to be uploaded.<br>Click &quot;Upgrade firmware&quot;
to start the upgrade process.</p>
<?php if (!file_exists($d_sysrebootreqd_path)): ?>
OpenPOWER on IntegriCloud