summaryrefslogtreecommitdiffstats
path: root/lib/modelfunctions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/modelfunctions.lua')
-rw-r--r--lib/modelfunctions.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/modelfunctions.lua b/lib/modelfunctions.lua
index c27965d..1314b42 100644
--- a/lib/modelfunctions.lua
+++ b/lib/modelfunctions.lua
@@ -40,10 +40,10 @@ function getstatus(processname, packagename, label, servicename)
status.status = getenabled(processname)
- local autostart_sequence, autostart_errtxt = processinfo.process_startupsequence(servicename or processname)
+ local autostart_value, autostart_errtxt = processinfo.process_autostart(servicename or processname)
status.autostart = cfe({
- label="Autostart sequence",
- value=autostart_sequence,
+ label="Autostart status",
+ value=autostart_value,
errtxt=autostart_errtxt,
name=servicename or processname
})