You can either create a startup script and place it within the /etc/rc.<runlevel> directory beginning with a capital S and accepting the argument 'start'.
Or you can create a Solaris 10 service. You'd need to modify an existing manifest that would name the service, point to the right startup script (method) and establish the startup dependencies that describe when it should launch.
The first method is fast and quick, but not very fine grained. You can only launch in certain time periods. Creating a service involves a little more effort to get started, but gives monitoring/restart features along with explicit dependencies between services.
--
Darren
I just found a command that actually does what I need:
svcadm enable network/ntp
After a reboot I see the following $pgrep -l ntp
215 xntpd
And ntpq -p show a list of servers
Is this much different than your solutions ?
I tried this because I couldn't find a startup script for the ntpd!
Thnx
LuCa
Services are handled with svcadm. Most services are distributed with the OS, but you can create your own by making a service manifest for it and installing it.
There is an SMF FAQ that people are developing.
http://home.arcor.de/bnsmb/public/htdocs/My_Little_SMF_FAQ.html
--
Darren