Reference
ntp feature
What it doesPermalink to What it does#
BusyBox ntpd, keeping the clock from the given servers.
Use itPermalink to Use it#
Import it from (vessel system features ntp). This part of a system configuration uses it:
Example: feature-ntp-example
(import (vessel system)
(vessel system features ntp))
;; Set the clock from servers near you instead of pool.ntp.org.
(system-configuration
features:
(cons (ntp-feature servers: '("0.europe.pool.ntp.org" "1.europe.pool.ntp.org"))
%base-features))
Verified
A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.
OptionsPermalink to Options#
Pass these keyword fields directly to the feature type. The optional name: keyword sets the instance name; a copy keeps it unless changed.
Option | Default | Type | Description |
|---|---|---|---|
|
| not available | not available |
|
| not available | not available |
What it addsPermalink to What it adds#
Its declared extensions target these feature types:
What it receivesPermalink to What it receives#
Nothing. Other feature types don't send it items.
Used inPermalink to Used in#
No page refers to it yet.