update x86 profile and luci display

This commit is contained in:
coolsnowwolf 2017-10-11 23:48:22 +08:00
parent a1b541b404
commit 5dc24e77d2
4 changed files with 12 additions and 4 deletions

View File

@ -17,7 +17,7 @@ DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fs
iptables-mod-nat-extra kmod-nf-nathelper kmod-nf-nathelper-extra kmod-macvlan block-mount \ iptables-mod-nat-extra kmod-nf-nathelper kmod-nf-nathelper-extra kmod-macvlan block-mount \
default-settings ipset-lists luci luci-app-ddns luci-app-sqm luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \ default-settings ipset-lists luci luci-app-ddns luci-app-sqm luci-app-upnp luci-app-adbyby-plus luci-app-autoreboot \
luci-app-filetransfer luci-app-shadowsocksr-pro luci-app-usb-printer luci-app-vsftpd luci-app-sfe \ luci-app-filetransfer luci-app-shadowsocksr-pro luci-app-usb-printer luci-app-vsftpd luci-app-sfe \
luci-app-pptp-server luci-app-openvpn-server luci-app-pptp-server luci-app-ipsec-vpnd
# For nas targets # For nas targets
DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm
# For router targets # For router targets

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=autocore PKG_NAME:=autocore
PKG_VERSION:=1 PKG_VERSION:=1
PKG_RELEASE:=3 PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/autocore define Package/autocore
TITLE:=x86/x64 auto core loadbalance script. TITLE:=x86/x64 auto core loadbalance script.
MAINTAINER:=Lean MAINTAINER:=Lean
DEPENDS:=@TARGET_x86 +bc DEPENDS:=@TARGET_x86 +bc +lm-sensors
endef endef
define Package/autocore/description define Package/autocore/description

View File

@ -23,6 +23,14 @@ start()
do do
echo $cc > $fileRps echo $cc > $fileRps
done done
a=$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq)
b=$(echo -n ' x ')
c=$(cat /proc/cpuinfo | grep 'processor' | wc -l)
d=$(echo -n ' @ ')
e=$(sensors | grep 'Core 0' | cut -c10-26)
f=${a}${b}${c}${d}${e}
echo $f > /tmp/sysinfo/model
} }

View File

@ -20,7 +20,7 @@ KERNELNAME:=bzImage
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs wpad kmod-usb-hid kmod-usb-net-asix kmod-usb-net-asix-ax88179 \ DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs wpad kmod-usb-hid kmod-usb-net-asix kmod-usb-net-asix-ax88179 \
kmod-ath5k kmod-ath9k kmod-ath10k kmod-rt2800-usb kmod-e1000e kmod-igb kmod-igbvf kmod-ixgbe kmod-vmxnet3 htop lm-sensors kmod-ath5k kmod-ath9k kmod-ath10k kmod-rt2800-usb kmod-e1000e kmod-igb kmod-igbvf kmod-ixgbe kmod-vmxnet3 htop lm-sensors autocore
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))