4
Fork 0

OpenWRT stuff is fixed

This commit is contained in:
Artem Prilutskiy 2016-08-12 12:14:54 +03:00
parent e538746c16
commit 99a85d6fd9
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ define Package/cronosagent/install
$(INSTALL_BIN) $(X_SOURCE_DIR)/OpenWRT/init.d/cronosagent $(1)/etc/init.d/ $(INSTALL_BIN) $(X_SOURCE_DIR)/OpenWRT/init.d/cronosagent $(1)/etc/init.d/
$(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/config/cronosagent $(1)/etc/config/ $(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/config/cronosagent $(1)/etc/config/
$(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/controller/cronosagent.lua $(1)/usr/lib/lua/luci/controller/ $(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/controller/cronosagent.lua $(1)/usr/lib/lua/luci/controller/
$(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/view/cronosagent/restart.lua $(1)/usr/lib/lua/luci/view/cronosagent/ $(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/view/cronosagent/restart.htm $(1)/usr/lib/lua/luci/view/cronosagent/
$(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/model/cbi/cronosagent/configure.lua $(1)/usr/lib/lua/luci/model/cbi/cronosagent/ $(INSTALL_DATA) $(X_SOURCE_DIR)/OpenWRT/model/cbi/cronosagent/configure.lua $(1)/usr/lib/lua/luci/model/cbi/cronosagent/
endef endef

View file

@ -4,6 +4,6 @@
%> %>
<%+header%> <%+header%>
<h2 name="content">CronosAgent</h2> <h2 name="content">CronosAgent &#9656; Restart</h2>
<textarea readonly="readonly" wrap="off" rows="20"><%= luci.util.exec("logread | grep CronosAgent") %></textarea> <textarea readonly="readonly" wrap="off" rows="20" style="width: 100%"><%= luci.util.exec("logread | grep CronosAgent") %></textarea>
<%+footer%> <%+footer%>