4
Fork 0
CronosAgent/OpenWRT/view/cronosagent/restart.htm

9 lines
243 B
HTML

<%
luci.sys.call("/etc/init.d/cronosagent restart ; sleep 2")
%>
<%+header%>
<h2 name="content">CronosAgent</h2>
<textarea readonly="readonly" wrap="off" rows="20"><%= luci.util.exec("logread | grep CronosAgent") %></textarea>
<%+footer%>