diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-06-23 09:31:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-06-23 09:31:58 +0000 |
commit | 2162ccd34f3de703adbf71c450e637f0553b1379 (patch) | |
tree | ef22c83f2bfbd36f3eeb44a615a052ba4a4ad021 /samba-model.lua | |
parent | 102996d3fc74f72e42910aee2c819ac23d86643c (diff) | |
download | acf-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
Diffstat (limited to 'samba-model.lua')
-rw-r--r-- | samba-model.lua | 7 |
1 files changed, 3 insertions, 4 deletions
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() |