From bfb99715e5aeb46a342823783ee244ce70a8957f Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Thu, 5 Dec 2019 20:29:34 -0800 Subject: [PATCH] autocore: make tmp dir --- package/lean/autocore/Makefile | 2 +- package/lean/autocore/files/autocore | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index 6e64ca302..47beabca8 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:=25 +PKG_RELEASE:=26 include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/autocore/files/autocore b/package/lean/autocore/files/autocore index 3086ffdb0..501b31e50 100755 --- a/package/lean/autocore/files/autocore +++ b/package/lean/autocore/files/autocore @@ -31,6 +31,8 @@ start() e=$(cat /proc/cpuinfo | grep 'processor' | wc -l) f=$(echo -n ' Thread ') g=${a}${b}${c}${d}${e}${f} + + mkdir -p /tmp/sysinfo echo $g > /tmp/sysinfo/model ethtool -K eth0 rx-checksum on >/dev/null 2>&1