GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pre_config_cmd loop script?
Operating System - HP-UX
1847986
Members
6269
Online
104022
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-08-2009 06:46 AM
06-08-2009 06:46 AM
pre_config_cmd loop script?
Hi
I was wondering if there was a way to do a simple loop as part of the pre_config_cmd in local.config?
I have tried to do a loop but it will not run. Is there something I am missing?
I can run it in the post_config_script
But I would like to do it before any install happens.
All I want to do is
for disk in `ls /dev/rdsk`
do
something
done
Thanks
ricardo
I was wondering if there was a way to do a simple loop as part of the pre_config_cmd in local.config?
I have tried to do a loop but it will not run. Is there something I am missing?
I can run it in the post_config_script
But I would like to do it before any install happens.
All I want to do is
for disk in `ls /dev/rdsk`
do
something
done
Thanks
ricardo
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2009 01:56 PM
06-08-2009 01:56 PM
Re: pre_config_cmd loop script?
The 'pre_config_cmd' as described in the man pages http://www.docs.hp.com/en/5992-5839/5992-5839.pdf is the most difficult execution hook to use.
You are trying to run shell commands here, and the man page states that even a shell is not yet available at this early point of the install.
See if the 'loadfile' command will help you, as described in the man page.
You are trying to run shell commands here, and the man page states that even a shell is not yet available at this early point of the install.
See if the 'loadfile' command will help you, as described in the man page.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP