Update nexus.sh

This commit is contained in:
sdohuajia 2024-10-11 09:27:07 +08:00 committed by GitHub
parent 50d121961a
commit 4072195669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,17 +192,6 @@ function delete_node() {
read -p "按任意键返回主菜单" read -p "按任意键返回主菜单"
} }
# 改进的状态逻辑函数
function improved_status_logic() {
if sudo systemctl is-active --quiet $SERVICE_NAME.service; then
show_status "服务正在运行。"
else
show_status "获取服务状态失败。"
fi
show_status "Nexus Prover 安装和服务设置完成!"
}
# 显示状态的函数 # 显示状态的函数
function show_status() { function show_status() {
echo "\$1" echo "\$1"