diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index aae2020..f40ab1b 100644 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -5,7 +5,7 @@ Sysinfo() { [ -z "${TARGET_PROFILE}" ] && local TARGET_PROFILE=$(jsonfilter -e '@.model.id' < /etc/board.json | tr ',' '_') local IP_Address=$(ifconfig -a | grep inet | grep -v 127.0.0.1 | grep -v inet6 | awk '{print $2}' | tr -d "addr:" | awk 'NR==1') local CoreMark=$([ -f /etc/bench.log ] && egrep -o "[0-9]+" /etc/bench.log | awk 'NR==1') - local Startup=$(awk '{a=$1/86400;b=($1%86400)/3600;c=($1%3600)/60} {printf("%d 天 %d 小时 %d 分钟\n",a,b,c)}' /proc/uptime) + local Startup=$(awk '{a=$1/86400;b=($1%86400)/3600;c=($1%3600)/60;d=($1%60)} {printf("%d 天 %d 小时 %d 分钟 %d 秒\n",a,b,c,d)}' /proc/uptime) local Overlay_Available="$(df -h | grep ":/overlay" | awk '{print $4}' | awk 'NR==1')" local Tmp_Available="$(df -h | grep "/tmp" | awk '{print $4}' | awk 'NR==1')" local TEMP=$(sensors 2>/dev/null | grep 'Core 0' | awk '{print $3}')