summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/view
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2018-07-10 12:33:23 -0700
committerStan Grishin <stangri@melmac.net>2018-07-10 12:33:23 -0700
commit3c332e456482bdb9ae231040f50d010f67355086 (patch)
tree0beea70b3094a32e0235cb63e3a11a3c603dce9f /applications/luci-app-advanced-reboot/luasrc/view
parent36b6d98747e2d1830bbc6aa076303048bbb98d3d (diff)
luci-app-advanced-reboot: support for Linksys WRT32X
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/view')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm
index 5f7429dfd1..fabb793e3d 100644
--- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm
+++ b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm
@@ -79,7 +79,11 @@
</div>
</fieldset>
<%- else -%>
- <p class="alert-message warning"><%:Warning: This system does not have two partitions!%></p>
+ <%- if rom_board_name then -%>
+ <p class="alert-message warning"><%:Warning: Device (%><%=rom_board_name%><%:) is unknown or isn't a dual-partition device!%></p>
+ <%- else -%>
+ <p class="alert-message warning"><%:Warning: Unable to obtain device information!%></p>
+ <%- end -%>
<%- end -%>
<hr />