From 9b934599d84f0b3dd32cda657790dc2c34bd95d8 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 26 May 2009 16:00:59 +0000 Subject: Updates for alpine 1.9 apk tools and openrc. Bug fix for format.lua string_to_table. --- lib/modelfunctions.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/modelfunctions.lua') 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 }) -- cgit v1.2.3