projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-*: Fixes for firmware upgrade and system reset
[project/luci.git]
/
modules
/
admin-mini
/
luasrc
/
view
/
mini
/
upgrade.htm
diff --git
a/modules/admin-mini/luasrc/view/mini/upgrade.htm
b/modules/admin-mini/luasrc/view/mini/upgrade.htm
index
350d6a8
..
e0fbb93
100644
(file)
--- a/
modules/admin-mini/luasrc/view/mini/upgrade.htm
+++ b/
modules/admin-mini/luasrc/view/mini/upgrade.htm
@@
-24,8
+24,10
@@
$Id$
<input type="file" size="30" name="image" />
<br />
<br />
<input type="file" size="30" name="image" />
<br />
<br />
+ <% if keep_avail then -%>
<input type="checkbox" name="keepcfg" value="1" checked="checked" />
<span class="bold"><%:a_s_flash_keepcfg%></span>
<input type="checkbox" name="keepcfg" value="1" checked="checked" />
<span class="bold"><%:a_s_flash_keepcfg%></span>
+ <% end -%>
</div>
<div>
<input type="submit" value="<%:a_s_flash_fwupgrade%>" />
</div>
<div>
<input type="submit" value="<%:a_s_flash_fwupgrade%>" />