mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/Mapleawaa/PVE-Tools-9.git
synced 2026-09-20 08:03:35 +08:00
Unify all menus on lib/menu.sh (run_menu), harden GPU/GRUB writes with two-tier confirms and markers, fix remote/self-update to Releases assets, and close real CI quality gates with SHA256SUMS. Bump to 11.0.0 / Liino.
27 lines
628 B
Bash
27 lines
628 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
# Copyright (C) 2026 Ciriu Networks
|
|
|
|
temp_monitoring_menu() {
|
|
run_menu "温度监控管理" temp_monitoring_menu_render temp_monitoring_menu_dispatch "0-2"
|
|
}
|
|
|
|
temp_monitoring_menu_render() {
|
|
show_menu_option "1" "配置温度监控 ${CYAN}(CPU/硬盘温度显示)${NC}"
|
|
show_menu_option "2" "${RED}移除温度监控${NC} (移除温度监控功能)"
|
|
}
|
|
|
|
temp_monitoring_menu_dispatch() {
|
|
case "$1" in
|
|
1) cpu_add ;;
|
|
2) cpu_del ;;
|
|
*) return 1 ;;
|
|
esac
|
|
return 0
|
|
}
|
|
|
|
# 自定义温度监控配置
|
|
# 已经死了。
|
|
|
|
# Ceph管理菜单
|