summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-11 12:57:42 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-11 12:57:42 +0000
commit477fe18ced51a5d148b2644e2b0de4ac6348d98e (patch)
tree8703a2e5f951cc4908428ab878c8e03b085a6cfb
parent239e99b375a12989efa0b7e6cbe792bf23cfd35a (diff)
downloadacf-shorewall-477fe18ced51a5d148b2644e2b0de4ac6348d98e.tar.bz2
acf-shorewall-477fe18ced51a5d148b2644e2b0de4ac6348d98e.tar.xz
Added rc controller to alpine-baselayout and rc functionality to processinfo library. Changed status Enabled/Disabled to Running/Stopped. Added links to status pages to install package and schedule autostart.
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1552 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--shorewall-model.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua
index f3c1e50..8df2d4d 100644
--- a/shorewall-model.lua
+++ b/shorewall-model.lua
@@ -174,7 +174,9 @@ function getstatus()
local status = modelfunctions.getstatus(processname, packagename, "Shorewall Status")
local details = getstatusdetails()
if string.match(details.value, "Shorewall is running") then
- status.value.status.value = "Enabled"
+ status.value.status.value = "Running"
+ else
+ status.value.status.value = "Stopped"
end
return status
end