Operating System - HP-UX
1833877 Members
1793 Online
110063 Solutions
New Discussion

Re: SD-UX: Examples of Request Scripts

 
Andrea Pagani
Occasional Contributor

SD-UX: Examples of Request Scripts

Has someone any example of Request Script?
An example of control script using the response file generated by the former script will be appreciated too.

Andrea
1 REPLY 1
Mateja Bezjak
Respected Contributor

Re: SD-UX: Examples of Request Scripts

Hi Andrea,

A simple example of a request script can be:
--------
#!/sbin/sh
echo "Enter you name"
read name
echo "Your name is $name" > ${SW_CONTROL_DIRECTORY}response
---------
The POSIX default for request scripts is a shell script.

More on request script can be found in the SD-UX manual:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/B2355-90154.html

Regards,
Mateja