Using a script resource

A script resource represents a file that is a user-defined shell script. After it is defined, this type of resource can be used to perform processing on a client as part of a NIM cust or bos_inst operation.

The script resources are always run by NIM after software installation is performed in cust or bos_inst operations. This allows the scripts to perform configuration processing on the client after all the software is installed. Multiple script resources can be allocated for client use, but the order in which the scripts will be run is not predictable.

Note: The script resources must not point to files that reside in the /export/nim/scripts directory. This directory is used for the nim_script resource that is managed by NIM. NFS restrictions prevent defining multiple resources in the same location.