how to Implicitly execute some unix commands during/after Solaris reboot

I have to execute 2 commands everytime i reboot my Solaris machine.
Simple "share" and "chown" commands.

Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine?

Any help appreciated
Thanks:)

Try putting them in your .profile

the .profile is only executed during login, not on boot. i think the better way is a runlevel script. have a look at the files in "/etc/init.d" and "/etc/rcX.d".