mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 13:55:13 +08:00
✨ Sync 2026-09-20 23:20:14
This commit is contained in:
1 parent
ab8e741007
commit
9c7b6c9fd9
3 files changed
+3
-3
No files matched your search
@@ -116,7 +116,7 @@ start_service() {
|
||||
# 1. 开机 CoreMark 跑分处理 (后台异步执行,杜绝阻塞系统启动与前端保存卡死)
|
||||
local coremark
|
||||
config_get coremark default coremark 0
|
||||
if [ "$coremark" = "1" ] && [ -x /bin/coremark ] && && [ -x /sbin/coremark ][ ! -f /etc/bench.log ] && [ ! -f /var/lock/opkg.lock ]; then
|
||||
if [ "$coremark" = "1" ] && [ -x /bin/coremark ] && [ -x /sbin/coremark ] && [ ! -f /etc/bench.log ] && [ ! -f /var/lock/opkg.lock ]; then
|
||||
(sleep 5;/sbin/coremark >/dev/null 2>&1) &
|
||||
fi
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=my-default-settings
|
||||
PKG_VERSION:=2
|
||||
PKG_RELEASE:=10
|
||||
PKG_RELEASE:=11
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
sleep 5
|
||||
while :; do
|
||||
[ -f /var/lock/opkg.lock ] || {
|
||||
/sbin/cpumark
|
||||
/sbin/coremark
|
||||
break;
|
||||
}
|
||||
sleep 1
|
||||
|
||||
Reference in new issue
Block a user