From e9415c7aec81e9380bb9a4289421003ae5ec51fb Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Fri, 18 Jun 2021 21:52:28 +0800 Subject: [PATCH] =?UTF-8?q?profile:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomFiles/Depends/profile | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index 6325335..aae2020 100644 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -9,15 +9,16 @@ Sysinfo() { 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}') - echo -e "\n 设备名称: ${Yellow}$(uname -n) / ${TARGET_PROFILE}${White}" - [ -n "${TEMP}" ] && echo " 核心温度: ${TEMP}" - echo " 内核版本: $(uname -rs)" - echo -e " 固件版本: ${Skyb}${CURRENT_Version}${White}" - echo " IP 地址 : ${IP_Address}" - echo " 可用空间: ${Overlay_Available} / ${Tmp_Available}" - [ -n "${CoreMark}" ] && echo " 性能得分: ${CoreMark}" - echo " 运行时间: ${Startup}" - echo "" + cat <