diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-10-28 23:01:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-10-28 23:01:27 +0000 |
commit | 0827d796166185650b58d98a273308315e24975e (patch) | |
tree | 17a0f463bcd783094bd567ccce79cc142c1dcaa3 /chrony-model.lua | |
parent | 86295c2cb82d92faacad467a73e2219f2747f7e9 (diff) | |
download | acf-chrony-0827d796166185650b58d98a273308315e24975e.tar.bz2 acf-chrony-0827d796166185650b58d98a273308315e24975e.tar.xz |
Cleaned up config view by updating CFE for autoview
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 |