mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 15:24:45 +00:00
适配 Immortalwrt,调整部分架构
注: INCLUDE_DRM_I915 仅适用于 Lean 源码
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
DISTRIB_ID='%D'
|
||||
DISTRIB_RELEASE='%V'
|
||||
DISTRIB_REVISION=''
|
||||
DISTRIB_TARGET='%S'
|
||||
DISTRIB_ARCH='%A'
|
||||
DISTRIB_DESCRIPTION='ImmortalWrt Template'
|
||||
DISTRIB_TAINTS='%t'
|
||||
Executable → Regular
Executable → Regular
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "\nRunning CoreMark test,please wait ..."
|
||||
|
||||
Scores=$(cat /tmp/coremark.log 2> /dev/null | grep "CoreMark 1.0" | awk '{print $4}')
|
||||
Processer=$(awk -F ':[ ]' '/model name/{printf ($2);exit}' /proc/cpuinfo)
|
||||
Time=$(grep "Total time" /tmp/coremark.log | awk '{print $4}')
|
||||
[[ -z "${Processer}" ]] && Processer=Unknown
|
||||
|
||||
echo -e "\nProcesser: ${Processer}\nScore: ${Scores}\nTime costs: ${Time}"
|
||||
Executable → Regular
Executable → Regular
@@ -13,4 +13,4 @@ config timeserver 'ntp'
|
||||
list server 'ntp1.aliyun.com'
|
||||
list server 'time1.cloud.tencent.com'
|
||||
list server 'time.ustc.edu.cn'
|
||||
list server 'cn.pool.ntp.org'
|
||||
list server 'cn.pool.ntp.org'
|
||||
|
||||
Reference in New Issue
Block a user