Changeset 705 for branches/scripts/group


Ignore:
Timestamp:
Jul 9, 2012, 11:25:12 AM (13 years ago)
Author:
Herwig Bauernfeind
Message:

usermod 2.3.4, groupmod 2.2.2: Fix: Also look into smb.cmd's directory for smbd.exe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/scripts/group/groupmod.cmd

    r299 r705  
    11/* GroupMod script for Samba Server for eCS (OS/2) */
    2    Version = '2.2.1'
    3 /* Copyright (C) netlabs.org 2007-2009
     2   Version = '2.2.2'
     3/* Copyright (C) netlabs.org 2007-2012
    44
    55   This program is free software; you can redistribute it and/or modify
     
    148148        if exist.0 = 1 then samba.!smbd = exist.1
    149149    end
     150    if samba.!smbd = "" then do /* in RPM/YUM/FHS tree */
     151        ok = SysFileTree(UnixRoot'\usr\bin\smbd.exe', exist.,'FO')
     152        if exist.0 = 1 then samba.!smbd = exist.1
     153    end
    150154    if samba.!smbd = "" then do /* in parent directory? */
    151155        ok = SysFileTree('..\smbd.exe', exist.,'FO')
Note: See TracChangeset for help on using the changeset viewer.