summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-05 14:09:43 -0500
committersullrich <sullrich@pfsense.org>2009-12-05 14:09:43 -0500
commitee7f9f3dd509b7ae7cf4e216e5b2ceca5469e1dc (patch)
tree72785b57ba2845576313e3e5026bbdd499e2a973 /usr/local/www
parent7da73c3d6a5127646b99baa9913902ac6748179b (diff)
downloadpfsense-ee7f9f3dd509b7ae7cf4e216e5b2ceca5469e1dc.zip
pfsense-ee7f9f3dd509b7ae7cf4e216e5b2ceca5469e1dc.tar.gz
Note correct extension. Noticed-by: JimP
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_firmware.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 4beb120..3c0a3d7 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -229,7 +229,11 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd"))
<strong>Firmware image file: </strong>&nbsp;
<input name="ulfile" type="file" class="formfld">
<br><br>
- <b>NOTE: You must upload a .tgz image, not an uncompressed image!</b>
+ <?php if ($g['platform'] == "nanobsd"): ?>
+ <b>NOTE: You must upload a .img.gz image, not an uncompressed image!</b>
+ <?php else: ?>
+ <b>NOTE: You must upload a .tgz image, not an uncompressed image!</b>
+ <?php endif; ?>
<br><br>
<?php
if(!file_exists("/boot/kernel/pfsense_kernel.txt")) {
OpenPOWER on IntegriCloud