diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-05-26 16:00:59 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-05-26 16:00:59 +0000 |
commit | 9b934599d84f0b3dd32cda657790dc2c34bd95d8 (patch) | |
tree | 29b6dd6a11c40d799add39074d1e40128d4da9dc /lib/modelfunctions.lua | |
parent | a82f5d48a729e17382790588efc251bdea5a23f1 (diff) | |
download | acf-core-9b934599d84f0b3dd32cda657790dc2c34bd95d8.tar.bz2 acf-core-9b934599d84f0b3dd32cda657790dc2c34bd95d8.tar.xz |
Updates for alpine 1.9 apk tools and openrc. Bug fix for format.lua string_to_table.
Diffstat (limited to 'lib/modelfunctions.lua')
-rw-r--r-- | lib/modelfunctions.lua | 6 |
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 }) |