diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_firmware.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 294996c..66d72a1 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -173,6 +173,7 @@ print_info_box($sig_warning); upload" below, then choose the image file (<?=$g['platform'];?>-*.tgz) to be uploaded.<br>Click "Upgrade firmware" to start the upgrade process.</p> + <?php if (!file_exists($d_sysrebootreqd_path)): ?> <?php if (!file_exists($d_fwupenabled_path)): ?> <input name="Submit" type="submit" class="formbtn" value="Enable firmware upload"> <?php else: ?> @@ -183,7 +184,7 @@ print_info_box($sig_warning); <br><br> <input name="Submit" type="submit" class="formbtn" value="Upgrade firmware"> <?php endif; else: ?> - + <strong>You must reboot the system before you can upgrade the firmware.</strong> <?php endif; ?> </td> </td> @@ -201,7 +202,7 @@ print_info_box($sig_warning); </table> </form> -<?php endif; ?> +<?php endif; endif; ?> <?php include("fend.inc"); ?> </body> </html> |