From dbde0216c29148520226a96a57be20ceb2406f45 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 6 Sep 2008 13:51:51 +0000 Subject: Rewrote UCI apply logic --- modules/admin-mini/luasrc/view/mini/uci_apply.htm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/admin-mini/luasrc/view') diff --git a/modules/admin-mini/luasrc/view/mini/uci_apply.htm b/modules/admin-mini/luasrc/view/mini/uci_apply.htm index e28094728..8f5a8e37a 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$

<%:config%>

<%:uci_applied%>:

<%=(changes or "-")%> -<%=output%> +<% +local fp = reload() +local line = fp:read() +while line do + write(line.."\n") + line = fp:read() +end +fp:close() +%> <%+footer%> \ No newline at end of file -- cgit v1.2.3