Saji Thankachan writes:
> I am new to solaris and need help to configure an application in Automatic 
> startup in solaris 10, in rhel 5 I use the following which works fine.
> 
> cp INSTALLDIR/scripts/gswgdaemon /etc/init.d/
> chmod 755 /etc/init.d/gswgdaemon
> cd /etc/init.d
> /sbin/chkconfig --add gswgdaemon
> /sbin/chkconfig gswgdaemon on
> 
> How to go about in solaris 10.

The simplest way (besides learning SMF -- which is recommended in any
event) is to do the same as above, but add symlinks instead of running
"chkconfig":

        ln -s ../init.d/gswgdaemon /etc/rc3.d/S99gswgdaemon
        ln -s ../init.d/gswgdaemon /etc/rc0.d/K00gswgdaemon

See the /etc/rc3.d/README file for more information.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to