summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-06-23 09:31:58 +0000
committerTed Trask <ttrask01@yahoo.com>2009-06-23 09:31:58 +0000
commit2162ccd34f3de703adbf71c450e637f0553b1379 (patch)
treeef22c83f2bfbd36f3eeb44a615a052ba4a4ad021
parent102996d3fc74f72e42910aee2c819ac23d86643c (diff)
downloadacf-samba-2162ccd34f3de703adbf71c450e637f0553b1379.tar.bz2
acf-samba-2162ccd34f3de703adbf71c450e637f0553b1379.tar.xz
Fixed bug with samba status due to change to using openrc. Tagged 0.2.1v0.2.1
-rw-r--r--Makefile2
-rw-r--r--samba-model.lua7
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c049897..b265ccb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
APP_NAME=samba
PACKAGE=acf-$(APP_NAME)
-VERSION=0.2.0
+VERSION=0.2.1
APP_DIST=\
samba* \
diff --git a/samba-model.lua b/samba-model.lua
index 726b8f2..d55971b 100644
--- a/samba-model.lua
+++ b/samba-model.lua
@@ -10,9 +10,8 @@ require("format")
-- Set variables
local configfile = "/etc/samba/smb.conf"
local confdfile = "/etc/conf.d/samba"
-local processname = "smbd"
+local processname = "samba"
local packagename = "samba"
-local initname = "samba"
local configcontent
local config
@@ -103,11 +102,11 @@ end
-- PUBLIC FUNCTIONS
function startstop_service(action)
- return modelfunctions.startstop_service(initname, action)
+ return modelfunctions.startstop_service(processname, action)
end
function getstatus()
- return modelfunctions.getstatus(processname, packagename, "Samba Status", initname)
+ return modelfunctions.getstatus(processname, packagename, "Samba Status")
end
function getconfigfile()