Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

Creating an SMF Manifest File

    Create an SMF manifest file that defines a service that executes a script.

  • The start method of the service executes the first-boot script.

  • This example specifies the multi-user dependency to make sure that the first-boot script executes late in the startup sequence after first boot. Depending on what your first-boot script does, you might not need such a dependency. If you do not specify such a dependency, your script might run before the system is adequately configured.


    Tip  - Evaluate your script's dependencies and construct the service to run the script after its dependencies are satisfied.
  • The completed property is defined with a value of false.