## Path:           Network/NTP
## Description:    Network Time Protocol (NTP) server settings
## Type:           string
## Default:        AUTO-2
## ServiceRestart: ntp
#
# Usually it's a good idea to get the current time and date
# from some other ntp server, before the local ntpd is started.
# - Set NTPD_INITIAL_NTPDATE="AUTO" to query ALL servers listed 
#   in the configuration file (/etc/ntp.conf).
# - Set NTPD_INITIAL_NTPDATE="AUTO-{NUMBER}" to query the first {NUMBER}
#   servers listed in the configuration file. E.g. "AUTO-2".
# Otherwise provide a space-separated list of ntp servers to query, or
# set NTPD_INITIAL_NTPDATE="" to do no initial query at all.
#
NTPD_INITIAL_NTPDATE="AUTO-2"

## Type:           yesno
## Default:        no
## ServiceRestart: ntp
#
# When ntpd is running, the kernel automatically updates CMOS every 13 minutes
# to match the system time. However, the updates can only work when time is off
# by less than +-15 minutes. There are machines that don't keep the time all
# that well when turned off. If you run one of those you can have ntp set
# the CMOS clock after setting the initial date with ntpdate
# 
NTPD_ADJUST_CMOS_CLOCK="no"


## Type:           string
## Default:        "-u ntp"
#
# Additional arguments when starting ntpd. The most
# important ones would be
# -u user[:group]   to make ntpd run as a user (group) other than root.
#
NTPD_OPTIONS="-u ntp"

## Type:           yesno
## Default:        yes
## ServiceRestart: ntp
#
# Shall the time server ntpd run in the chroot jail /var/lib/ntp?
#
# Each time you start ntpd with the init script, /etc/ntp.conf will be
# copied to /var/lib/ntp/etc/.
# 
# The pid file will be in /var/lib/ntp/var/run/ntpd.pid. 
#
NTPD_RUN_CHROOTED="yes"

## Type:           string
## Default:        ""
## ServiceRestart: ntp
#
# If the time server ntpd runs in the chroot jail these files will be
# copied to /var/lib/ntp/ besides the default of /etc/{localtime,ntp.conf}
#
NTPD_CHROOT_FILES=""

## Type:           string(/dev/refclock-0,/dev/refclock-1,/dev/refclock-2,/dev/refclock-3)
## Default:        ""
## ServiceRestart: ntp
#
# Parse driver symlink
# For more information see the ntp documentation in the package xntp-doc
# /usr/share/doc/packages/xntp-doc/drivers/driver8.html
#
NTP_PARSE_LINK=""

## Type:           string
## Default:        ""
## ServiceRestart: ntp
#
# Parse driver device
# For more information see the ntp documentation in the package xntp-doc
# /usr/share/doc/packages/xntp-doc/drivers/driver8.html
#
NTP_PARSE_DEVICE=""

## Type:           string
## Default:        "yes"
## ServiceRestart: ntp
#
# start the ntp - deamon. Set to yes if you wan't that other computer can synchronize their time
# with yours. No disable the deamon - the time only synchronized if the service start / restart.
#
NTPD_START="yes"
