diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile
index da5ab6577f..28278222a1 100644
--- a/package/lean/autocore/Makefile
+++ b/package/lean/autocore/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=autocore
PKG_VERSION:=1
-PKG_RELEASE:=19
+PKG_RELEASE:=21
include $(INCLUDE_DIR)/package.mk
@@ -32,6 +32,8 @@ define Package/autocore/install
$(INSTALL_BIN) ./files/autocore $(1)/etc/init.d/autocore
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) ./files/index.htm $(1)/etc/index.htm
+ $(INSTALL_DIR) $(1)/sbin
+ $(CP) ./files/sbin/* $(1)/sbin
endef
$(eval $(call BuildPackage,autocore))
diff --git a/package/lean/autocore/files/index.htm b/package/lean/autocore/files/index.htm
index a1217b774d..7d458eec39 100644
--- a/package/lean/autocore/files/index.htm
+++ b/package/lean/autocore/files/index.htm
@@ -46,7 +46,13 @@
"sysctl -n -e net.nf_conntrack_max net.ipv4.netfilter.ip_conntrack_max"
):match("%d+")) or 4096
+ local cpu_info = luci.sys.exec("cpuinfo")
+
+ local eth_info = luci.sys.exec("ethinfo")
+
local rv = {
+ cpuinfo = cpu_info,
+ ethinfo = eth_info,
uptime = sysinfo.uptime or 0,
localtime = os.date(),
loadavg = sysinfo.load or { 0, 0, 0 },
@@ -109,7 +115,7 @@
<%+header%>
-
+