From 2be2a84845a4f1a72e146d1346dcf4c401dc65c2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2009 15:18:49 +0000 Subject: Updated for startstop in core 0.5.0 --- chrony-model.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrony-model.lua') 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 -- cgit v1.2.3