Skip to content

Commit

Permalink
feat(脚本): 添加hysteria 查看日志
Browse files Browse the repository at this point in the history
  • Loading branch information
mack-a committed Nov 9, 2022
1 parent 52bb06f commit 0e57e4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5377,6 +5377,7 @@ manageHysteria() {
echoContent yellow "1.重新安装"
echoContent yellow "2.卸载"
echoContent yellow "3.更新core"
echoContent yellow "4.查看日志"
hysteriaStatus=true
else
echoContent yellow "1.安装"
Expand All @@ -5391,14 +5392,16 @@ manageHysteria() {
elif [[ "${installHysteriaStatus}" == "3" && "${hysteriaStatus}" == "true" ]]; then
installHysteria 1
handleHysteria start
elif [[ "${installHysteriaStatus}" == "4" && "${hysteriaStatus}" == "true" ]]; then
journalctl -fu hysteria
fi
}
# 主菜单
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
Expand Down

0 comments on commit 0e57e4e

Please sign in to comment.