mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
documentation: add the missed param write_to_system into ntp
This commit is contained in:
parent
bd2e052815
commit
7bf0f9f12c
@ -14,6 +14,7 @@ synchronization is not possible.
|
||||
"server": "time.apple.com",
|
||||
"server_port": 123,
|
||||
"interval": "30m",
|
||||
"write_to_system": false
|
||||
|
||||
... // Dial Fields
|
||||
}
|
||||
@ -45,6 +46,12 @@ Time synchronization interval.
|
||||
|
||||
30 minutes is used by default.
|
||||
|
||||
#### write_to_system
|
||||
|
||||
Write time to system.
|
||||
|
||||
false is used by default.
|
||||
|
||||
### Dial Fields
|
||||
|
||||
See [Dial Fields](/configuration/shared/dial/) for details.
|
@ -13,8 +13,9 @@
|
||||
"server": "time.apple.com",
|
||||
"server_port": 123,
|
||||
"interval": "30m",
|
||||
"write_to_system": false
|
||||
|
||||
... // 拨号字段
|
||||
... // Dial Fields
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,6 +45,12 @@ NTP 服务器端口。
|
||||
|
||||
默认使用 30 分钟。
|
||||
|
||||
#### write_to_system
|
||||
|
||||
写入系统时间。
|
||||
|
||||
默认不写入。
|
||||
|
||||
### 拨号字段
|
||||
|
||||
参阅 [拨号字段](/zh/configuration/shared/dial/)。
|
||||
|
Loading…
x
Reference in New Issue
Block a user