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:
committed by
Gerald (Jerry) Carter
parent
620301858a
commit
86d628a292
@ -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) {
|
||||
|
Reference in New Issue
Block a user