The request script is executed as uid=root and gid=other.
The request script should not modify any files,
with the exception of the ``response'' file (described below)
which is the output of the request script.
It is intended only
to interact with users and to create a list of parameter assignments based upon
that interaction.
pkgadd(ADM)
calls the request script with one argument
that names the file to which
the output of this script will be written.
This file is referred to as the response file.
The parameter assignments should be added to
the installation environment for use by
pkgadd(ADM)
and other
packaging scripts (as shown in
the previous example.
System parameters and standard installation parameters,
except for the
CLASSES
parameter, cannot be modified by a request script.
Any of the other parameters available can be changed.
The format of the output list should be
PARAMETER="value".
For example:
CLASSES="none class1"
The list should be written to the file named as the argument to the request
script.
The user's terminal is defined as standard input to the request script.
The request script is not executed during package removal.
However, the
parameter values assigned in the script are saved and are available
during removal.