diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-24 15:41:37 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-24 15:41:37 +0000 |
commit | 6c63347a6ae2f25de2bf8cf9aea93ea31a786418 (patch) | |
tree | 5937cfeacf14ee8ea7d7f805e5bb6c7c6e721cfb /health-controller.lua | |
parent | fca6053366b3728ec57874478868ca0e0b9120cf (diff) | |
download | acf-alpine-baselayout-6c63347a6ae2f25de2bf8cf9aea93ea31a786418.tar.bz2 acf-alpine-baselayout-6c63347a6ae2f25de2bf8cf9aea93ea31a786418.tar.xz |
Modified health controller to use cfe's and added support for multiple floppy and hard drives.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1181 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'health-controller.lua')
-rw-r--r-- | health-controller.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/health-controller.lua b/health-controller.lua index 72838e1..6ebc00e 100644 --- a/health-controller.lua +++ b/health-controller.lua @@ -5,21 +5,21 @@ default_action = "system" -- Public methods system = function (self ) - return ({system = self.model:get_system(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) + return self.model:get_system() end storage = function (self ) - return ({storage = self.model:get_storage(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) + return self.model:get_storage() end network = function (self ) - return ({network = self.model:get_network(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) + return self.model:get_network() end modules = function (self ) - return ({modules = self.model:get_modules(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) + return self.model:get_modules() end proc = function (self ) - return ({proc = self.model:get_proc(), url = self.conf.script .. self.conf.prefix .. self.conf.controller} ) + return self.model:get_proc() end |