diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index 5a3ea11..1f52537 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk define Package/autocore TITLE:=x86/x64 auto core loadbalance script. MAINTAINER:=Lean - DEPENDS:=@TARGET_x86 +bc +lm-sensors +ethtool + DEPENDS:=+bc +lm-sensors +ethtool endef define Package/autocore/description diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore index 55cd519..06d202c 100755 --- a/package/lean/autocore/files/autocore +++ b/package/lean/autocore/files/autocore @@ -33,7 +33,7 @@ start() g=${a}${b}${c}${d}${e}${f} mkdir -p /tmp/sysinfo - echo $g > /tmp/sysinfo/model + #echo $g > /tmp/sysinfo/model 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() 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) - ethtool -K $c tx-scatter-gather on >/dev/null 2>&1 + #ethtool -K $c tx-scatter-gather on >/dev/null 2>&1 ethtool -K $c gso on >/dev/null 2>&1 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 --- a/package/lean/autocore/files/index.htm +++ b/package/lean/autocore/files/index.htm @@ -720,6 +720,7 @@