Shampavman wrote: > Hi all, > I would like to know how to write an rc script? > Am planning on doing some memory management during the boot itself, so > planning on implementing it through the rc scripts.... > I wanted to know what the constraints are ,how the script itself need to > be designed, and all such stuffs!!! > > Also is there a possibility that i can call certain files from elsewhere > in the rc scripts, and execute them.. > Eg: suppose i want to mount the entire swap on /tmp very early on in the > boot... > So i write a script that mounts swap then can i call this script in say, > rc1 and expect the mounting to be done? > > PS: If this is not the right list. please guide me to one! > I felt this was the closest mailing list. > >
rc scripts are a thing of the past in OpenSolaris. You should check out the smf(5) faq <http://opensolaris.org/os/community/smf/faq/> and the Service Management Facility community <http://opensolaris.org/os/community/smf/>. This community should be able to help get you started. --jc --- Jeff Cheeney OpenSolaris Storage Community Lead http://opensolaris.org/os/community/storage http://blogs.sun.com/icedawn