mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
为 VMware 环境添加时间同步支持
This commit is contained in:
parent
723936afd8
commit
87d690b92c
@ -12,6 +12,12 @@ set -e
|
||||
. "${WORK_PATH}/include/functions.sh"
|
||||
. "${WORK_PATH}/include/addons.sh"
|
||||
|
||||
if type -p vmware-toolbox-cmd; then
|
||||
if [ ! "Enabled" = "$(vmware-toolbox-cmd timesync status 2>/dev/null)" ]; then
|
||||
vmware-toolbox-cmd timesync enable >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -z "${LOADER_DISK}" ] && die "$(TEXT "Loader is not init!")"
|
||||
checkBootLoader || die "$(TEXT "The loader is corrupted, please rewrite it!")"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user