Configuration of ntp-client |
clients/ntp-client.ycp |
Main file |
|
|
Main file for ntp-client configuration. Uses all other files.
Imports
Includes
- commandline/commandline.ycp
- ntp-client/wizards.ycp
Local Functions
|
|
|
local findSyncRecord (map options) -> integer
|
|
Find the synchronization record the map is about
- Parameters:
options |
map of command line options |
- Return value:
|
index of the found record, -1 in case of an error |
local updateSyncRecord (map options) -> boolean
|
|
Update the synchronization record
- Parameters:
options |
map of command line options |
- Return value:
local NtpStatusHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpListHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpEnableHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpDisableHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpAddHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpEditHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
local NtpDeleteHandler (map options) -> boolean
|
|
Handler for command line interface
- Parameters:
options |
map options from the command line |
- Return value:
|
true if settings have been changed |
|