Note correct extension. Noticed-by: JimP

This commit is contained in:
sullrich 2009-12-05 14:09:43 -05:00
parent 7da73c3d6a
commit ee7f9f3dd5
1 changed files with 5 additions and 1 deletions

View File

@ -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")) {