1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00

r8639: moved loadparm calls into an ejs object

(This used to be commit 2dc493eea6)
This commit is contained in:
Andrew Tridgell
2005-07-20 07:20:03 +00:00
committed by Gerald (Jerry) Carter
parent 620301858a
commit 86d628a292
8 changed files with 42 additions and 20 deletions

View File

@ -97,7 +97,8 @@ function nbtd_statistics()
*/
function service_enabled(name)
{
var services = lpGet("server services");
var lp = loadparm_init();
var services = lp.get("server services");
var i;
for (i=0;i<services.length;i++) {
if (services[i] == name) {