From 6aa373638ebf3862613d52e09e8a38836fc5e7b5 Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 16 Jul 2025 12:37:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20scripts/system=5Foptimize.?= =?UTF-8?q?sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/system_optimize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system_optimize.sh b/scripts/system_optimize.sh index a9d7fd3..58a90b1 100644 --- a/scripts/system_optimize.sh +++ b/scripts/system_optimize.sh @@ -44,7 +44,7 @@ set_timezone_to_shanghai() { synchronize_hardware_clock() { log_info "同步硬件时钟和系统时钟..." # 使用hwclock命令将系统时间同步到硬件时钟 - hwclock --systohc + apt update && apt install util-linux -y && hwclock --systohc log_info "硬件时钟和系统时钟已同步" }