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

13
cgi-bin/info-overlay.cgi Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/haserl
<%in p/common.cgi %>
<%
s=$(df | grep /overlay | xargs | cut -d' ' -f5)
page_title="Overlay Partition"
%>
<%in p/header.cgi %>
<div class="alert alert-primary">
<h5>Overlay partition is <%= $s %> full.</h5>
<% progressbar "${s/%/}" %>
</div>
<% ex "ls -Rl /overlay" %>
<%in p/footer.cgi %>