diff options
Diffstat (limited to 'openntpd-model.lua')
-rw-r--r-- | openntpd-model.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openntpd-model.lua b/openntpd-model.lua index 742c64a..5c52444 100644 --- a/openntpd-model.lua +++ b/openntpd-model.lua @@ -90,7 +90,9 @@ end function get () local path = ntpdconfig config = config_content ( path ) - config["version"] = get_version() + config["version"] = string.match(get_version(), "^(%S*)" ) + config["status"] = "xXx" + config["date"] = os.date() return config end |