1. Introduction:

Most Samba packages for various *nix flavors come with a shell script in order to quickly start or stop the Samba services.

smb.cmd (written in REXX) provides the same for OS/2 and eCS.

2. Installation:

smb.cmd should reside in the same directory as smbd.exe and nmbd.exe.

3. Usage:

The usage of smb.cmd mimics the usage of the *nix shell scripts and is quite straight forward:

smb {start|stop|restart|status}

In addition a plugin feature found in IBM's TCPSTART.CMD is added to smb.cmd

If a file named B4SMB.CMD is found in the Samba directory, it is run before the Samba services are started.

If a file named SMBEXIT.CMD is found in the Samba directory, it is run after the Samba services have been stopped.

-> URL: ftp://ftp.netlabs.org/pub/samba/smb_init.zip

Source: OS2.org

OS/2-eCS-ArcaOS General News

More in General  

OS/2-eCS-ArcaOS Software News

More in Software  

Latest Forum Posts

Site News

More in Site News