Changeset 705 for branches/scripts/user


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/user/usermod.cmd

    r576 r705  
    11/* UserMod script for Samba Server for eCS (OS/2) */
    2    Version = '2.3.3'
    3 /* Copyright (C) netlabs.org, Herwig Bauernfeind 2007-2011
     2   Version = '2.3.4'
     3/* Copyright (C) netlabs.org, Herwig Bauernfeind 2007-2012
    44
    55   This program is free software; you can redistribute it and/or modify
     
    185185    if samba.!smbd = "" then do /* in current directory? */
    186186        ok = SysFileTree('.\smbd.exe', exist.,'FO')
     187        if exist.0 = 1 then samba.!smbd = exist.1
     188    end
     189    if samba.!smbd = "" then do /* in RPM/YUM/FHS tree */
     190        ok = SysFileTree(UnixRoot'\usr\bin\smbd.exe', exist.,'FO')
    187191        if exist.0 = 1 then samba.!smbd = exist.1
    188192    end
Note: See TracChangeset for help on using the changeset viewer.