The following table describes the control script
keywords for use in a PSF.
Table 11-2 Control Script Keywords
Keyword | Type | Size
in Bytes | Example |
---|
checkinstall | path_string | 1024 | /mfg/sd/scripts/checkinstall |
preinstall | path_string | 1024 | /mfg/sd/scripts/preinstall |
postinstall | path_string | 1024 | /mfg/sd/scripts/postinstall |
unpreinstall | path_string | 1024 | /mfg/sd/scripts/unpreinstall |
unpostinstall | path_string | 1024 | /mfg/sd/scripts/unpostinstall |
configure | path_string | 1024 | /mfg/sd/scripts/configure |
unconfigure | path_string | 1024 | /mfg/sd/scripts/unconfigure |
verify | path_string | 1024 | /mfg/sd/scripts/verify |
checkremove | path_string | 1024 | /mfg/sd/scripts/checkremove |
preremove | path_string | 1024 | /mfg/sd/scripts/preremove |
postremove | path_string | 1024 | /mfg/sd/scripts/postremove |
request | path_string | 1024 | /mfg/sd/scripts/request |
control_file | path_string | 1024 | /mfg/sd/scripts/subscripts |
fix | path_string | 1024 | /mfg/sd/scripts/fix |
space | path_string | 1024 | /mfg/sd/scripts/space |
The value of each keyword is the source filename
for the specific control script. swpackage will
copy the specified control script’s filename into the depot’s
storage directory for the associated product or fileset, using the
keyword as the tag of the stored script (for example, “configure”).
You can include control script specifications
or data files with the product or fileset. These are stored alongside
the standard SD-UX control scripts. For example, you could specify
a subscript called by the supported control scripts, or a data file
read by these scripts. These additional scripts are specified using
the syntax:
PATH[=tag]
If you do not specify the tag component, swpackage uses the basename(1) value of the source pathname as the tag.