This commit is contained in:
2025-03-10 16:48:59 +08:00
commit 396980136a
47 changed files with 3375 additions and 0 deletions

17
cgi-bin/fw-reset.cgi Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/haserl
<%in p/common.cgi %>
<%
page_title="Erasing Overlay"
c="/usr/sbin/sysupgrade -s -n -x"
r="true"
%>
<%in p/header.cgi %>
<h3 class="alert alert-warning">DO NOT CLOSE, REFRESH, OR NAVIGATE AWAY FROM THIS PAGE UNTIL THE PROCESS IS FINISHED!</h3>
<pre id="output" data-cmd="<%= $c %>" data-reboot="<%= $r %>"></pre>
<script>
const el = $('pre#output');
runCmd("cmd")
</script>
<%in p/footer.cgi %>