Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi! i have a requirement that when we install our application in a solaris machine it should register itself as a boot up application. I also got some inputs on this that there should be some run scripts that should be copied into the rc folder. But i'm not sure exactly what the content of the script should. Could anyone please help me in knowing what should be written in this script for my application to start at system boot up. I heard that this is similar to services in windows.
I'm developing an installer for one of our products and this is a requirement for me to implement.

On Solaris machines: Usually custom scripts are kept in /etc/rc3.d directory. This is level 3 startup scripts directory. Please read /etc/rc3.d/README file more info.
If application needs to be started in level 2 you need to place your script in /etc/rc2.d directory.
Please see also /etc/init.d/README.
Example scripts: There are many in /etc/rc2.d directory. You can use the same structure for the program.
Hope this helps.

Actually i have written a script for this which creates a link for the file i need to launch in the /etc/rc3.d directory. I'm running this script from my application and this creates a link for another script which launches the application. I hope this launches my application at startup.
Could you please tell me whether this approach is right. And what is the difference by running an application in 2nd level and 3rd level.
Thanks for ur response.

![]() |
Problems installing solar...
|
WHATS SOLARIS????
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |