| Line | |
|---|
| 1 | Samba Server for eCS (OS/2) init script Version 3.1.3
|
|---|
| 2 | =====================================================
|
|---|
| 3 |
|
|---|
| 4 | Copyright (C) netlabs.org 2007-2009
|
|---|
| 5 |
|
|---|
| 6 | 1. Introduction:
|
|---|
| 7 | ----------------
|
|---|
| 8 |
|
|---|
| 9 | Most Samba packages for various *nix flavors come with a shell script in order
|
|---|
| 10 | to quickly start or stop the Samba services.
|
|---|
| 11 |
|
|---|
| 12 | smb.cmd (written in REXX) provides the same functionality for eCS (OS/2).
|
|---|
| 13 |
|
|---|
| 14 | 2. Installation:
|
|---|
| 15 | ----------------
|
|---|
| 16 |
|
|---|
| 17 | smb.cmd should reside in the same directory as smbd.exe and nmbd.exe.
|
|---|
| 18 | It requires REXXUTIL.DLL, VROBJ.DLL and PR1UTIL.DLL in LIBPATH.
|
|---|
| 19 |
|
|---|
| 20 | 3. Usage:
|
|---|
| 21 | ---------
|
|---|
| 22 |
|
|---|
| 23 | The usage of smb.cmd mimics the usage of the *nix shell scripts
|
|---|
| 24 | and is quite straight forward:
|
|---|
| 25 |
|
|---|
| 26 | smb {start|stop|restart|reload|status|test}
|
|---|
| 27 |
|
|---|
| 28 | In addition a similar plugin feature found in IBM's TCPSTART.CMD is present
|
|---|
| 29 | in smb.cmd:
|
|---|
| 30 |
|
|---|
| 31 | - If a file named B4SMB.CMD is found in the Samba directory, it will be run
|
|---|
| 32 | before the Samba services are started.
|
|---|
| 33 |
|
|---|
| 34 | - If a file named SMBEXIT.CMD is found in the Samba directory, it will be run
|
|---|
| 35 | after the Samba services have been stopped.
|
|---|
| 36 |
|
|---|
| 37 | smb.cmd is also used by SWAT and smbmon.exe to start or stop the Samba daemons.
|
|---|
| 38 |
|
|---|
| 39 | In addition Samba daemons that refuse to stop peacefully are killed using
|
|---|
| 40 | Paul Ratcliffe's excellent PR1Util.DLL.
|
|---|
| 41 |
|
|---|
| 42 | 4. Authors:
|
|---|
| 43 | -----------
|
|---|
| 44 | Herwig Bauernfeind
|
|---|
| 45 | mailto:herwig.bauernfeind@aon.at
|
|---|
| 46 |
|
|---|
| 47 | Portions were done by Rich Walsh
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.