Changeset 251
- Timestamp:
- Jun 5, 2009, 8:27:16 AM (16 years ago)
- Location:
- branches/scripts/smb_init
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/scripts/smb_init/readme.smb_init ¶
r193 r251 1 Samba Server for eCS (OS/2) init script Version 3.0. 21 Samba Server for eCS (OS/2) init script Version 3.0.3 2 2 ===================================================== 3 3 -
TabularUnified branches/scripts/smb_init/smb.cmd ¶
r193 r251 280 280 ok = _SambaRunning() 281 281 if words(pids.!smbd) > 0 then do I = 1 to words(pids.!smbd) 282 say "Trying to kill smbd.exe "PRKillProcess("1", word(pids.!smbd,I)) 282 call charout ,"Trying to kill smbd.exe PID "word(pids.!smbd,I) 283 ok = PRKillProcess("1", word(pids.!smbd,I)) 284 if ok = 0 then say ", success!"; else say ", error "ok 283 285 end 284 286 end … … 290 292 ok = _SambaRunning() 291 293 if words(pids.!nmbd) > 0 then do I = 1 to words(pids.!nmbd) 292 say "Trying to kill nmbd.exe "PRKillProcess("1", word(pids.!nmbd,I)) 294 call charout ,"Trying to kill nmbd.exe "word(pids.!nmbd,I) 295 ok = PRKillProcess("1", word(pids.!nmbd,I)) 296 if ok = 0 then say ", success!"; else say ", error "ok 293 297 end 294 298 end … … 300 304 ok = _SambaRunning() 301 305 if words(pids.!winb) > 0 then do I = 1 to words(pids.!winb) 302 say "Trying to kill winbindd "PRKillProcess("1", word(pids.!winb,I)) 306 call charout ,"Trying to kill winbindd "word(pids.!winb,I) 307 ok = PRKillProcess("1", word(pids.!winb,I)) 308 if ok = 0 then say ", success!"; else say ", error "ok 303 309 end 304 310 end
Note:
See TracChangeset
for help on using the changeset viewer.