diff options
author | Steven Barth <steven@midlink.org> | 2008-09-06 13:51:51 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-06 13:51:51 +0000 |
commit | dbde0216c29148520226a96a57be20ceb2406f45 (patch) | |
tree | b2db4607952c7361f3f4e093e93b126210da0a76 /modules/admin-mini/luasrc/view | |
parent | 8e00d27ae72245aa26feebfcf5cc0338ba1167d0 (diff) |
Rewrote UCI apply logic
Diffstat (limited to 'modules/admin-mini/luasrc/view')
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/uci_apply.htm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/uci_apply.htm b/modules/admin-mini/luasrc/view/mini/uci_apply.htm index e280947282..8f5a8e37ac 100644 --- a/modules/admin-mini/luasrc/view/mini/uci_apply.htm +++ b/modules/admin-mini/luasrc/view/mini/uci_apply.htm @@ -16,5 +16,13 @@ $Id$ <h1><%:config%></h1> <p><%:uci_applied%>:</p> <code><%=(changes or "-")%> -<%=output%></code> +<% +local fp = reload() +local line = fp:read() +while line do + write(line.."\n") + line = fp:read() +end +fp:close() +%></code> <%+footer%>
\ No newline at end of file |