mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-30 02:31:47 +08:00
15 lines
243 B
Bash
15 lines
243 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
[[ -f "/bin/coremark" && ! -f "/etc/bench.log" && "$(uci -q get wizard.default.coremark)" == '1' ]] && {
|
|
(
|
|
sleep 5
|
|
while :; do
|
|
[ -f /var/lock/opkg.lock ] || {
|
|
/sbin/cpumark
|
|
break;
|
|
}
|
|
sleep 1
|
|
done
|
|
) &
|
|
}
|