From 34224f6d0cbea882ef7c0de2bb4adb7572d9a76b Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 1 Jan 2025 17:38:31 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E4=B8=8D=E9=80=9A=E8=BF=87=E9=A3=8E?= =?UTF-8?q?=E6=89=87=E5=92=8C=E6=B8=A9=E5=BA=A6=E4=BC=A0=E6=84=9F=E5=99=A8?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E8=99=9A=E6=8B=9F=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index 1f9bca4..c21dd2b 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -553,8 +553,13 @@ is_virt() { fi done + # 用运行 windows ,肯定够内存运行 alpine lts netboot + # 何况还能停止 modloop + # 没有风扇和温度信息,大概是虚拟机 - if [ -z "$_is_virt" ] && + # 阿里云 倚天710 arm 有温度传感器 + # ovh KS-LE-3 没有风扇和温度信息? + if false && [ -z "$_is_virt" ] && ! wmic /namespace:'\\root\cimv2' PATH Win32_Fan 2>/dev/null | grep -q ^Name && ! wmic /namespace:'\\root\wmi' PATH MSAcpi_ThermalZoneTemperature 2>/dev/null | grep -q ^Name; then _is_virt=true