diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index 8d55b88d4..b459871ed 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:=41 +PKG_RELEASE:=42 include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/autocore/files/x86/autocore b/package/lean/autocore/files/x86/autocore index 614e21761..6e8a1acec 100755 --- a/package/lean/autocore/files/x86/autocore +++ b/package/lean/autocore/files/x86/autocore @@ -28,10 +28,11 @@ start() d=$(echo -n ' Core ') e=$(cat /proc/cpuinfo | grep 'processor' | wc -l) f=$(echo -n ' Thread ') - g=${a}${b}${c}${d}${e}${f} + g=$(dmesg | grep 'DMI:' | awk -F ',' '{print $1 }' | awk -F ':' '{print $2 }') + h=${g}' - '${a}${b}${c}${d}${e}${f} mkdir -p /tmp/sysinfo - echo $g > /tmp/sysinfo/model + echo $h > /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) diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network index 50c99c9e9..5ed16eb5b 100644 --- a/target/linux/x86/base-files/etc/board.d/02_network +++ b/target/linux/x86/base-files/etc/board.d/02_network @@ -14,7 +14,7 @@ pc-engines-apu1|pc-engines-apu2|pc-engines-apu3) roqos-roqos-core-rc10) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; -*r86s*) +brounion-r86s) ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0" ;; sophos-sg-105|sophos-xg-105)