- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Running a commmand at startup
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
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
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
тАО08-14-2001 01:50 AM
тАО08-14-2001 01:50 AM
I have been adding commands to startup with various levels of success on HpUX 10.20.
I find it difficult to find straightforward info on creating a file into which I can put a list of commands to be run at system startup. Can someone summarise the process for me so that I can put this to bed.
Thanks a lot.
DJ.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 02:39 AM
тАО08-14-2001 02:39 AM
Re: Running a commmand at startup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 02:44 AM
тАО08-14-2001 02:44 AM
Re: Running a commmand at startup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 02:49 AM
тАО08-14-2001 02:49 AM
SolutionTake a copy of it and call it something unique. Edit this new file according to the instructions.
In /sbin/rc#.d, where # is a number representing the init run level, you need to create a symbolic link to the file in /sbin/init.d such that the startup file is called S###name and the shutdown file is called K###name. It is likely that you will have the S### file in one run level and the K### in another.
### is a number indicating the order in which the file is called at startup/shutdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 02:49 AM
тАО08-14-2001 02:49 AM
Re: Running a commmand at startup
The best white paper on startup and shutdown scripts is given below. It is relatively short and a *must* read if you are to understand the process:
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2001 06:06 AM
тАО08-14-2001 06:06 AM
Re: Running a commmand at startup
Points shall be duely distributed!