Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to insert a startup command in Solaris?

I want to run a command (/usr/lib/snmp/snmpdx -p 161) whenever my solaris system starts up so that I don't have to insert the command upon every reboot. What file or where would I insert this command at?

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    Solaris still supports init scripts in the /etc/rc* directories

    to start and stop applications. But the recommended method is to use a

    SMF service (Solaris Service Management Facility).

Still have questions? Get your answers by asking now.