GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: UNIX startup and shutdown script
Operating System - Tru64 Unix
1857288
Members
6679
Online
110372
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
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
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP