diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_firmware.php | 6 |
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> <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")) { |