diff options
Diffstat (limited to 'chrony-model.lua')
-rw-r--r-- | chrony-model.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrony-model.lua b/chrony-model.lua index 350dd8b..0bc53d5 100644 --- a/chrony-model.lua +++ b/chrony-model.lua @@ -137,11 +137,11 @@ end function get_config() local output = {} - output.server = cfe({ type="list", value={}, label="Servers", descr="List of NTP servers by name or IP (ie. 0.pool.ntp.org). If infrequent Internet connection, follow name/IP with 'offline'." }) - output.allow = cfe({ type="list", value={}, label="Allow", descr="List of allowed clients by name/subnet/IP or 'all'."}) - output.driftfile = cfe({ label="Drift File", descr="Name of drift file (ie. /var/log/chrony/chrony.drift)" }) - output.keyfile = cfe({ label="Key File", descr="Name of key file (ie. /etc/chrony/chrony.keys)" }) - output.commandkey = cfe({ label="Command Key", descr="Number of key in Key File for commands." }) + output.server = cfe({ type="list", value={}, label="Servers", descr="List of NTP servers by name or IP (ie. 0.pool.ntp.org). If infrequent Internet connection, follow name/IP with 'offline'.", seq=1 }) + output.allow = cfe({ type="list", value={}, label="Allow", descr="List of allowed clients by name/subnet/IP or 'all'.", seq=2 }) + output.driftfile = cfe({ label="Drift File", descr="Name of drift file (ie. /var/log/chrony/chrony.drift)", seq=3 }) + output.keyfile = cfe({ label="Key File", descr="Name of key file (ie. /etc/chrony/chrony.keys)", seq=4 }) + output.commandkey = cfe({ label="Command Key", descr="Number of key in Key File for commands.", seq=5 }) local config = format.parse_linesandwords(fs.read_file(configfile) or "", "[!;#%%]") if config then |