summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_firmware.php')
-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