Skip to content

Commit

Permalink
documentation: add the missed param write_to_system into ntp
Browse files Browse the repository at this point in the history
  • Loading branch information
A.J.Zeller committed Jan 14, 2025
1 parent bd2e052 commit 7bf0f9f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
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/)

0 comments on commit 7bf0f9f

Please sign in to comment.