The RT4S shell script is used to start or stop the Server from init(1) processing, and should be executed as part of the system boot procedure only. Generally, the RT4S script does not need modification.
You must change the RT4S shell script, however, if the Server is installed in a directory other than the default directory, /opt/IBM/Optim/rt, or if the Server will be run under a user account other than root. The script contains areas that allow you to modify the following environment variables:
A symbolic link allows a filename in one directory to point to a file in another directory.
To start up and shut down the Server as part of init processing, you must create symbolic links to the RT4S script in the following directories:
The location of the rc2.d and rc1.d directories is platform‑specific:
Use the link command to create symbolic links, as follows: ln -s actualfile linkname.
In this case, specify RT4S.
In this case, point links named S99RT4S and K07RT4S to RT4S.
To start up and shut down the Server during Solaris or Linux init processing, create symbolic links to the RT4S script in directories /etc/rc2.d and /etc/rc1.d.
To start up and shut down the Server during HP-UX init processing, create symbolic links to the RT4S script in directories /sbin/rc2.d and /sbin/rc1.d.
To start up and shut down the Server during AIX init processing, create symbolic links to the RT4S script in directories /etc/rc.d/rc2.d and /etc/rc.d/rc1.d.