- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: UNIX startup and shutdown script
Operating System - Tru64 Unix
1753537
Members
5087
Online
108795
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
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
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
тАО11-20-2006 11:07 PM
тАО11-20-2006 11:07 PM
UNIX startup and shutdown script
I need to know the location and how to create script, which running when uinx shutting down and when sit startup
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2006 12:02 AM
тАО11-21-2006 12:02 AM
Re: UNIX startup and shutdown script
For details, see The system administration Manual, section:
Identifying and Modifying the System Initialization Files
The basics:
The systems boots into multi-user level. The script files should be located in /sbin/init.d and a symbolic link with the name:
/sbin/rc3.d:
SNNservice_name To start the service
/sbin/rc0.d
KNNservice_name To stop the service
NN is a number that specify the startup order.
To create the start and stop script, use any of the scripts located in /sbin/init.d as example.
Identifying and Modifying the System Initialization Files
The basics:
The systems boots into multi-user level. The script files should be located in /sbin/init.d and a symbolic link with the name:
/sbin/rc3.d:
SNNservice_name To start the service
/sbin/rc0.d
KNNservice_name To stop the service
NN is a number that specify the startup order.
To create the start and stop script, use any of the scripts located in /sbin/init.d as example.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2006 01:17 AM
тАО11-21-2006 01:17 AM
Re: UNIX startup and shutdown script
how can i create the sypolic link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2006 08:18 AM
тАО11-21-2006 08:18 AM
Re: UNIX startup and shutdown script
ln -s /sbin/init.d/servicename /sbin/rc3.d/SNNservicename
ln -s /sbin/init.d/servicename /sbin/rc0.d/KNNservicename
ln -s /sbin/init.d/servicename /sbin/rc0.d/KNNservicename
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP