The following example shows how to set up an /etc/rc2.d script.
Procedure
- Set up a symbolic link in /etc/rc2.d:
/etc/rc2.d/S##rational --> /etc/init.d/rational
- Ensure that the pound signs (##)
reflect the order in which operations are performed.
- Replace ## with a two-digit
decimal, such as 98.
Make this value high so that everything
else (for example, NFS) is started before the Rational® Synergy daemons are started. S## does
not have to be different from K##.
rc2.d represents
the run level of the operation. Level 2 startup is the standard.
During
startup, the process automatically sends the appropriate argument
("start").