- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where is file located like autoexec.bat
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
тАО04-06-2009 05:10 AM
тАО04-06-2009 05:10 AM
In Redhat linux, there is a file "/etc/rc.d/rc.local". all the data (commands or what ever we have put in that file) in this file will be executed like autoexec.bat in windows.
Like what is the file in HP-UX?
Like what is the file in SUSE linux?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:16 AM
тАО04-06-2009 05:16 AM
Solutionhttp://docs.hp.com/en/B2355-60130/rc.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:22 AM
тАО04-06-2009 05:22 AM
Re: where is file located like autoexec.bat
These files will look to config files in /etc/rc.config.d to see whether the startups are actually to be executed.
Also be advised that under /sbin there are several dirs named rcX.d where X=2,3,4,etc where X means the run-level in which they'll be executed.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:23 AM
тАО04-06-2009 05:23 AM
Re: where is file located like autoexec.bat
/sbin/init.d
/sbin/rcx.d
where x is your run level
Beware: Runlevels mean slightly different then redhat
Suse like redhat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:27 AM
тАО04-06-2009 05:27 AM
Re: where is file located like autoexec.bat
1) Create a script in /sbin/init.d
2) Link it to a runlevel directory ( rc1.2 or rc2.d or rc3.d) with an S (startup) in the begining.
You can also link it to a K(script) with the runlevel directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:38 AM
тАО04-06-2009 05:38 AM
Re: where is file located like autoexec.bat
how to create a file like this.
pls explain me in step by step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:47 AM
тАО04-06-2009 05:47 AM
Re: where is file located like autoexec.bat
http://docs.hp.com/en/934/startup.pdf
Please also check the template at
/sbin/init.d/template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 06:19 AM
тАО04-06-2009 06:19 AM
Re: where is file located like autoexec.bat
Pls see this link
javascript:openExternal('http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=480208')