Changeset 343
- Timestamp:
- Oct 30, 2009, 12:37:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scripts/smb_init/smb.cmd
r314 r343 1 /* Samba Server for eCS (OS/2) init script Version 3.1. 31 /* Samba Server for eCS (OS/2) init script Version 3.1.4 2 2 Copyright (C) netlabs.org 2007-2009 3 3 … … 298 298 samba.!lock_dir = translate(IniGet("lock directory", "global", samba.!smbconf),'\','/') 299 299 samba.!debuglevel = IniGet("log level", "global", samba.!smbconf) 300 if samba.!debuglevel = "" then samba.!debuglevel = "0" 300 301 301 302 /* make sure these directories exist */ … … 324 325 if running.!smbd = 1 & (svc = "SMBD" | svc = "") then do 325 326 samba.!bin'\smbcontrol.exe smbd shutdown >' samba.!log_path'\log.smbd.shtdn 2>&1' 326 ok = SysFileDelete(ETC'\samba\pid\smbd *pid')327 ok = SysFileDelete(ETC'\samba\pid\smbd.pid') 327 328 ok = SysSleep(options.!delay) 328 329 ok = _SambaRunning() … … 336 337 if running.!nmbd = 1 & (svc = "NMBD" | svc = "") then do 337 338 samba.!bin'\smbcontrol.exe nmbd shutdown >' samba.!log_path'\log.nmbd.shtdn 2>&1' 338 ok = SysFileDelete(ETC'\samba\pid\nmbd *pid')339 ok = SysFileDelete(ETC'\samba\pid\nmbd.pid') 339 340 ok = SysSleep(options.!delay) 340 341 ok = _SambaRunning() … … 348 349 if running.!winb = 1 & (svc = "WINBINDD" | svc = "") then do 349 350 samba.!bin'\smbcontrol.exe winbindd shutdown >' samba.!log_path'\log.winbindd.shtdn 2>&1' 350 ok = SysFileDelete(ETC'\samba\pid\winbindd *pid')351 ok = SysFileDelete(ETC'\samba\pid\winbindd.pid') 351 352 ok = SysSleep(options.!delay) 352 353 ok = _SambaRunning() … … 415 416 if running.!smbd = 0 & (svc = "SMBD" | svc = "") then do 416 417 /* Just to be sure - this pid file should not be there anyway! */ 417 ok = SysFileDelete(ETC'\samba\pid\smbd *pid')418 ok = SysFileDelete(ETC'\samba\pid\smbd.pid') 418 419 ok = charout(, ' SMBD: ') 419 420 /* Do not add path or .exe to smbd here!!! */ … … 423 424 if running.!nmbd = 0 & (svc = "NMBD" | svc = "") then do 424 425 /* Just to be sure - this pid file should not be there anyway! */ 425 ok = SysFileDelete(ETC'\samba\pid\nmbd *pid')426 ok = SysFileDelete(ETC'\samba\pid\nmbd.pid') 426 427 ok = charout(, ' NMBD: ') 427 428 /* Do not add path or .exe to nmbd here!!! */ … … 431 432 if haveWinbindd & running.!winb = 0 & (svc = "WINBINDD" | svc = "") then do 432 433 /* Just to be sure - this pid file should not be there anyway! */ 433 ok = SysFileDelete(ETC'\samba\pid\winbindd *pid')434 ok = SysFileDelete(ETC'\samba\pid\winbindd.pid') 434 435 ok = charout(, ' WINBINDD: ') 435 436 /* Do not add path or .exe to winbindd here!!! */
Note:
See TracChangeset
for help on using the changeset viewer.