更新 scripts/system_optimize.sh
This commit is contained in:
parent
c0548c5700
commit
d1edf86d41
|
|
@ -56,10 +56,10 @@ set_timezone_to_shanghai() {
|
||||||
|
|
||||||
# 同步硬件时钟和系统时钟
|
# 同步硬件时钟和系统时钟
|
||||||
synchronize_hardware_clock() {
|
synchronize_hardware_clock() {
|
||||||
log_info "[04]-执行系统内核锁定操作中"
|
log_info "[04]-同步系统硬件时钟操作中"
|
||||||
# 使用hwclock命令将系统时间同步到硬件时钟
|
# 使用hwclock命令将系统时间同步到硬件时钟
|
||||||
hwclock --systohc
|
hwclock --systohc
|
||||||
log_info "[04]-执行系统内核锁定---------------已完成!"
|
log_info "[04]-同步系统硬件时钟操作中-------------已完成!"
|
||||||
}
|
}
|
||||||
|
|
||||||
#关闭休眠
|
#关闭休眠
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue