summaryrefslogtreecommitdiffstats
path: root/chrony-model.lua
diff options
context:
space:
mode:
authorroot <root@trask19.(none)>2009-06-04 15:18:49 +0000
committerroot <root@trask19.(none)>2009-06-04 15:18:49 +0000
commit2be2a84845a4f1a72e146d1346dcf4c401dc65c2 (patch)
treef0e037017d244693179a1475b509f8e90b148934 /chrony-model.lua
parent2849268df2cc2dd3518d1df8ba3018dfc49b247d (diff)
downloadacf-chrony-2be2a84845a4f1a72e146d1346dcf4c401dc65c2.tar.bz2
acf-chrony-2be2a84845a4f1a72e146d1346dcf4c401dc65c2.tar.xz
Updated for startstop in core 0.5.0
Diffstat (limited to 'chrony-model.lua')
-rw-r--r--chrony-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrony-model.lua b/chrony-model.lua
index 14e8082..84b9aaa 100644
--- a/chrony-model.lua
+++ b/chrony-model.lua
@@ -68,8 +68,8 @@ end
function startstop_service(action)
local result = modelfunctions.startstop_service(processname, action)
- table.insert(result.value.actions.value, "online")
- table.insert(result.value.actions.value, "offline")
+ table.insert(result.value.actions.value, "Online")
+ table.insert(result.value.actions.value, "Offline")
if action then
local lower = action:lower()
if lower == "online" or lower == "offline" then