- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall - passing variables to control scrip...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 12:50 PM
тАО06-19-2003 12:50 PM
swinstall - passing variables to control scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 12:55 PM
тАО06-19-2003 12:55 PM
Re: swinstall - passing variables to control scripts
Generate dinamicly your sw scripts with
the wanted variables.
Or your sw scripts can read some config
file which will have the variables.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 04:30 PM
тАО06-19-2003 04:30 PM
Re: swinstall - passing variables to control scripts
I am not sure if I understood your question correctly.
You will need to source-in /usr/lbin/sw/contril_utils in your swpackage scripts. Along with the internal variables, there are quite a few functions available with this script that can ease your tasks. Look at the file and the documentation is in there.
If you are talking about your own variables, then create one file that defines common variables. Dot-in the file in each of your swpackage script. This way there is only one file you need to modify to change the variables.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2003 01:58 AM
тАО06-20-2003 01:58 AM
Re: swinstall - passing variables to control scripts
If the number of variables are less, you can even try with ENVIRONMENT VARIABLEs. You can use that variable in your script and in the term you start swinstall, don't forget to set the values. Its only an blind idea. may be so perfect and I have not tried it also.
Regards
VJ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2003 04:14 AM
тАО06-20-2003 04:14 AM