| United States-English |
|
|
|
![]() |
Software DistributorAdministration Guidefor HP-UX 11i: HP Computers > Chapter 11 Using
Control Scripts Request Script Tasks and Examples |
|
You can run request scripts from the swinstall or swconfig commands by setting the ask option to true. This tells the commands to run request scripts (if any exist) in addition to performing install or configuration tasks. (Note that the value of the ask option if false for both swinstall and swconfig but is true for swask.) Run all request scripts from the default depot (/var/spool/sw) and write the response file (response) back to the same depot: swask -s /var/spool/sw \* Run the request script for Product1 from depot /tmp/sample.depot.1 on remote host swposix, create the catalog swask -s swposix:/tmp/sample.depot.1 \ Run request scripts from remote depot /tmp/sample.depot.1 swask -s swposix:/tmp/sample.depot.1 \ To install all the software from local depot tmp/sample.depot.1 using any response files generated by request scripts: swinstall -s /tmp/sample.depot.1 -x ask=true \* To install Product1 from remote depot /tmp/sample.depot.1 on host swposix and use an existing response file (previously generated by the swask command) located in /tmp/bar.depot: swinstall -s swposix:/tmp/sample.depot.1 \ To install all products in remote depot /tmp/sample.depot.1 on host swposix, use any response files generated by request scripts, create catalog /tmp/bar.depot and copy all response files to the new catalog: swinstall -s swposix:/tmp/sample.depot.1 \ To install all products in remote depot /tmp/sample.depot.1 on host swposix, use response files, run request scripts only when a response file is absent, create catalog /tmp/bar.depot and copy all response files to the new catalog: swinstall -s swposix:/tmp/sample.depot.1 \ |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||