Changeset 267 for branches


Ignore:
Timestamp:
Jun 15, 2009, 12:40:43 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

smb.cmd: Remove path from detach line (prevents logfile creation!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/scripts/smb_init/smb.cmd

    r266 r267  
    372372        ok = SysFileDelete(ETC'\samba\pid\smbd*pid')
    373373        ok = charout(, '  SMBD:     ')
    374         'detach 'samba.!bin'\smbd' /* Do not add .exe here!!! */
     374        /* Do not add path or .exe to smbd here!!! */
     375        'detach smbd'
    375376    end
    376377    if running.!nmbd = 0 & (svc = "NMBD" | svc = "") then do
     
    378379        ok = SysFileDelete(ETC'\samba\pid\nmbd*pid')
    379380        ok = charout(, '  NMBD:     ')
    380         'detach 'samba.!bin'\nmbd -l 'samba.!log_path' -d 'samba.!debugLevel
     381        /* Do not add path or .exe to nmbd here!!! */
     382        'detach nmbd -l 'samba.!log_path' -d 'samba.!debugLevel
    381383    end
    382384    if haveWinbindd & running.!winb = 0 & (svc = "WINBINDD" | svc = "") then do
     
    384386        ok = SysFileDelete(ETC'\samba\pid\winbindd*pid')
    385387        ok = charout(, '  WINBINDD: ')
    386         'detach 'samba.!bin'\winbindd -l 'samba.!log_path' -d 'samba.!debugLevel
     388        /* Do not add path or .exe to winbindd here!!! */
     389        'detach winbindd -l 'samba.!log_path' -d 'samba.!debugLevel
    387390    end
    388391    ok = SysSleep(options.!delay)
Note: See TracChangeset for help on using the changeset viewer.