Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation: add the missed param write_to_system into ntp #2446

Open
wants to merge 1 commit into
base: dev-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/configuration/ntp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ synchronization is not possible.
"server": "time.apple.com",
"server_port": 123,
"interval": "30m",

"write_to_system": false

... // Dial Fields
}
}
Expand Down Expand Up @@ -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.
11 changes: 9 additions & 2 deletions docs/configuration/ntp/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"server": "time.apple.com",
"server_port": 123,
"interval": "30m",

... // 拨号字段
"write_to_system": false

... // Dial Fields
}
}

Expand Down Expand Up @@ -44,6 +45,12 @@ NTP 服务器端口。

默认使用 30 分钟。

#### write_to_system

写入系统时间。

默认不写入。

### 拨号字段

参阅 [拨号字段](/zh/configuration/shared/dial/)