From 11b703b99158f523548137e9eaa72f81883442ca Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Thu, 5 May 2022 13:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Module-Refresh_API.yml | 6 ------ Configs/xiaoyu_xy-c5-Clash | 2 +- CustomFiles/Depends/profile | 11 ++++++++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/Module-Refresh_API.yml b/.github/workflows/Module-Refresh_API.yml index 08f8fce..f36463a 100644 --- a/.github/workflows/Module-Refresh_API.yml +++ b/.github/workflows/Module-Refresh_API.yml @@ -40,9 +40,3 @@ jobs: file_glob: true tag: AutoUpdate overwrite: true - - - name: Delete old Workflow Runs - uses: GitRML/delete-workflow-runs@main - with: - retain_days: 1 - keep_minimum_runs: 1 diff --git a/Configs/xiaoyu_xy-c5-Clash b/Configs/xiaoyu_xy-c5-Clash index 8512fed..62aa3b2 100755 --- a/Configs/xiaoyu_xy-c5-Clash +++ b/Configs/xiaoyu_xy-c5-Clash @@ -67,13 +67,13 @@ CONFIG_PACKAGE_luci-app-pptp-server=y # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_fuse-utils is not set # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-ng is not set # CONFIG_PACKAGE_luci-app-rclone_INCLUDE_rclone-webui is not set +CONFIG_PACKAGE_luci-app-serverchan=y CONFIG_PACKAGE_luci-app-ssr-plus=y CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Client=y # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_Libev_Server is not set CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=y # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Server is not set # CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray is not set -CONFIG_PACKAGE_luci-app-serverchan=y CONFIG_PACKAGE_luci-app-sqm=y CONFIG_PACKAGE_luci-app-syncdial=y CONFIG_PACKAGE_luci-app-smartdns=y diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index 6e76e44..dbb2794 100755 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -12,8 +12,12 @@ Sysinfo() { then TEMP=$(echo "$(sensors 2> /dev/null | grep Core | awk '{Sum += $3};END {print Sum}') / $(sensors 2>/dev/null | grep Core | wc -l)" | bc 2>/dev/null) fi - [ -n "${TARGET_BOOTABLE}" ] && printf " 设备信息: %-7s ${Div} ${Green}%-12s${White}\n" ${TARGET_PROFILE} ${TARGET_BOOTABLE} || \ - [ -n "${TARGET_PROFILE}" ] && printf " 设备信息: ${TARGET_PROFILE}\n" + if [ -n "${TARGET_BOOTABLE}" ] + then + printf " 设备信息: %-7s ${Div} ${Green}%-12s${White}\n" ${TARGET_PROFILE} ${TARGET_BOOTABLE} + else + [ -n "${TARGET_PROFILE}" ] && printf " 设备信息: ${TARGET_PROFILE}\n" + fi printf " 内核版本: $(uname -rs | cut -d ' ' -f2)\n" printf " 可用内存: %-7s ${Div} %s of %s\n" $(free | grep Mem | awk '{a=$7*100/$2;b=$7/1024;c=$2/1024} {printf("%.1fM %.1f%% %.1fM",b,a,c)}') printf " 可用存储: %-7s ${Div} %s of %s\n" $(df -T '/' | grep -v File | awk '{a=$5*100/$3;b=$5/1024;c=$3/1024} {printf("%.1fM %.1f%% %.1fM",b,a,c)}') @@ -85,7 +89,7 @@ alias reload='/etc/profile' alias autoupdate='bash /bin/AutoUpdate.sh' alias tools='bash /bin/AutoBuild_Tools.sh' alias coremarkd='/etc/coremark.sh' -alias shutdown='sync && block umount && poweroff' +alias shutdown='sync && poweroff' alias ls='ls --color=auto' alias l='ls -CF' alias ll='ls -alF' @@ -94,3 +98,4 @@ alias cls='clear' alias dh='df -h' alias syslog='cat $(uci get system.@system[0].log_file) 2> /dev/null' alias ramfree='sync && echo 3 > /proc/sys/vm/drop_caches' +alias top='top -d 1'