Linux Package Editor Reference
61
Script Actions
z
Runlevel
If you are adding or modifying a service, mark the runlevels in which the service
should start.
z
Start Service After Adding or Stop Before Deleting
If you clear this option and you are starting a service, the service does not start
until Linux is restarted in one of the marked runlevels. If you clear this option and
you are deleting a service, the service is not stopped before it is deleted.
Post to HTTP Server
This action posts information over the Internet to a Web server. (Example: Use it to
gather information about the Linux computer during installation.)
Requirements
z
You must set up a CGI program or Active Server Page (.ASP) on the server that
accepts data sent by an HTTP POST operation and deciphers encoded characters.
z
The Linux computer must have a valid Internet connection.
To complete the dialog box
z
Destination URL
Enter the URL of the CGI program or .ASP page that accepts posted data.
z
Text to Post
Enter one or more lines in the following format:
field=data
where field is the name of the field as it is expected by the CGI program, and data is
the data to be sent in that field. If a line does not appear to contain a field name
followed by =, it is assumed to be a continuation of the previous line, and the data
on the two lines is concatenated and sent with a single field name.
The field name can be a variable name, but it does not have to be. Also, you can
enter a variable in place of the data. Precede the variable name with a $ and follow
standard conventions for naming Linux shell variables.
Read/Update Text File
This action either reads a text file that is on the Linux computer and writes the contents
of the file to a variable, or writes the contents of a variable to a text file on the Linux
computer.
When the action is run, the results are placed in the $RETURNCODE variable:
0
The action ran successfully.
non-zero
The action was unsuccessful.