From db721f148bbeadbaba1397b98037ae70ab8ce738 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 9 Nov 2022 14:24:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0h?= =?UTF-8?q?ysteria=20=E6=9F=A5=E7=9C=8B=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 719e27b..b84812a 100644 --- a/install.sh +++ b/install.sh @@ -5377,6 +5377,7 @@ manageHysteria() { echoContent yellow "1.重新安装" echoContent yellow "2.卸载" echoContent yellow "3.更新core" + echoContent yellow "4.查看日志" hysteriaStatus=true else echoContent yellow "1.安装" @@ -5391,6 +5392,8 @@ manageHysteria() { elif [[ "${installHysteriaStatus}" == "3" && "${hysteriaStatus}" == "true" ]]; then installHysteria 1 handleHysteria start + elif [[ "${installHysteriaStatus}" == "4" && "${hysteriaStatus}" == "true" ]]; then + journalctl -fu hysteria fi } # 主菜单 @@ -5398,7 +5401,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.6.8" + echoContent green "当前版本:v2.6.9" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus