02-27-2004
1,006,
2
Join Date: May 2001
Last Activity: 24 March 2008, 9:43 PM EDT
Location: Chicago IL, USA
Posts: 1,006
Thanks Given: 0
Thanked 2 Times in 1 Post
to clearify solaris does not have a /etc/rc.d/blah.
it has run levels. if you want to start a service or have commands run at start up you can do it 1 of 2 ways.
1) put it in /etc/rc3.d and name your script S<number><name of script>
the S means START and the scripts will start from the lowest number in that dir to the highest.
you might also see some scripts have start w/ a K those mean KILL those are usually ment to shutdown a process when you order the os to reboot, or you change to a lower init level.
2) you can put it in /etc/inittab but personaly i try to stay away from useing that file if i dont have to.