Add files via upload

This commit is contained in:
klever1988
2020-07-07 05:47:45 +08:00
committed by GitHub
parent ba85f43c20
commit 4285f5de5f

View File

@@ -1,5 +1,5 @@
diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile
index 5a3ea11..1f52537 100644
index f0c5c2787a..777a0f59ee 100644
--- a/package/lean/autocore/Makefile
+++ b/package/lean/autocore/Makefile
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
@@ -12,10 +12,10 @@ index 5a3ea11..1f52537 100644
define Package/autocore/description
diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore
index 55cd519..06d202c 100755
index 614e21761e..90f9f52dd8 100755
--- a/package/lean/autocore/files/autocore
+++ b/package/lean/autocore/files/autocore
@@ -33,7 +33,7 @@ start()
@@ -31,7 +31,7 @@ start()
g=${a}${b}${c}${d}${e}${f}
mkdir -p /tmp/sysinfo
@@ -24,7 +24,7 @@ index 55cd519..06d202c 100755
a=$(ip address | grep ^[0-9] | awk -F: '{print $2}' | sed "s/ //g" | grep '^[e]' | grep -v "@" | grep -v "\.")
b=$(echo "$a" | wc -l)
@@ -44,7 +44,7 @@ start()
@@ -42,7 +42,7 @@ start()
ethtool -K $c tx-checksum-ip-generic on >/dev/null 2>&1 || (
ethtool -K $c tx-checksum-ipv4 on >/dev/null 2>&1
ethtool -K $c tx-checksum-ipv6 on >/dev/null 2>&1)
@@ -34,10 +34,10 @@ index 55cd519..06d202c 100755
ethtool -K $c tso on >/dev/null 2>&1
ethtool -K $c ufo on >/dev/null 2>&1
diff --git a/package/lean/autocore/files/index.htm b/package/lean/autocore/files/index.htm
index 22d1a55..0198c38 100644
index c24224cb39..e7da9b7a63 100644
--- a/package/lean/autocore/files/index.htm
+++ b/package/lean/autocore/files/index.htm
@@ -720,6 +720,7 @@
@@ -718,6 +718,7 @@
<tr><td width="33%"><%:Firmware Version%></td><td>
<%=pcdata(ver.distname)%> <%=pcdata(ver.distversion)%> /
<%=pcdata(ver.luciname)%> (<%=pcdata(ver.luciversion)%>)
@@ -46,7 +46,7 @@ index 22d1a55..0198c38 100644
<tr><td width="33%"><%:Kernel Version%></td><td><%=unameinfo.release or "?"%></td></tr>
<tr><td width="33%"><%:Local Time%></td><td id="localtime">-</td></tr>
diff --git a/package/lean/autocore/files/sbin/cpuinfo b/package/lean/autocore/files/sbin/cpuinfo
index 19ea5fb..60e7acd 100755
index 05f0053d1a..87b2bc8219 100755
--- a/package/lean/autocore/files/sbin/cpuinfo
+++ b/package/lean/autocore/files/sbin/cpuinfo
@@ -2,7 +2,7 @@
@@ -57,7 +57,7 @@ index 19ea5fb..60e7acd 100755
+ MHz=`echo "$(cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq)/1000" | bc`
#获取CPU工作频率
sensors >/dev/null
sensors 2>/dev/null
@@ -12,7 +12,7 @@ info()
#获取CPU核心1温度