From 0827d796166185650b58d98a273308315e24975e Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sun, 28 Oct 2012 23:01:27 +0000 Subject: Cleaned up config view by updating CFE for autoview --- chrony-model.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chrony-model.lua') 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 -- cgit v1.2.3