Using properties to reference scripts

To insert a script in a system package, you can create a local property to reference the script.

You can create a local property that contains a script, and then insert a parameter that refers to this property in the system package.

Note

The script contents cannot exceed the limitations on the length of the property.

To use a local property to insert a script in a system package

  1. Create the local property:
    1. Click the Local Properties tab.
    2. Click Add , and for Type, select Simple > Long Text.
    3. To the right of the Default value field, click Browse ()
      to open a text window.
    4. Type your script in the text window.
    5. Click OK and then save the system package. Your property appears on the Local Properties tab.
  2. In the relevant system package field, insert a parameter that refers to the newly created script property. Enclose the property name with double question marks.
    For example, suppose you created a long text script property called PARTITION_SOLARIS_8. In the script field on the Disk Partition panel, you could either type in:
    ??PARTITION_SOLARIS_8??
    or you could click Select Property and select PARTITION_SOLARIS_8 from the drop-down menu of available properties. (When you use the Select Property icon, the double question marks are filled in automatically.)
Was this page helpful? Yes No Submitting... Thank you

Comments