Problem with Solaris 10 und Start Script

I try to get openfire automaticly started on boot-up.

I have copied the openfired script from /opt/openfire/bin/extras into /etc/init.d , set it executable and

made links in the rcx.d folders.

After restarting the system openfire is not started !!!

Solaris uses the SMF (Prozess Management) .

I there anyone knows how to get Openfire configured for starting on boot-time on a Solaris system ??

Have someone a Start Script for SMF und can tell how to set it up.