Solved

init 6: what script to boot the system

Posted on 2004-10-17
4
1,044 Views
Last Modified: 2013-12-27
Hi,

I know when we do init 6, rc6 will be called to shut down the system. What I am wondering is when the system comes back with autoboot, what is the script called to boot the system? Thanks
0
Comment
Question by:ebi168
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 90 total points
ID: 12335845
Have a look at "Booting process in Solaris":
http://www.adminschoice.com/docs/booting_process_in_solaris.htm
0
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 12336545
Warning :

if you reboot the system with
init  [ 0123456abcQqSs ] or reboot
the system not start the files in /etc/rc0.d
(K files) to down system.

This init or reboot  kill the processes.
When you have a DB (Example : Oracle , Sybase , db2)
is same as power off for DB.

Only schutdown active the down programs in the /etc/rc0.d
(K files)
Example:

shutdown -y -i6 -g5

Look man shutdown

or cat /etc/shutdown

0
 

Author Comment

by:ebi168
ID: 12339350
Otetelisanu:

I don't quite understand your words. What is the difference between init 6 and shutdown?
0
 
LVL 4

Assisted Solution

by:Otetelisanu
Otetelisanu earned 60 total points
ID: 12341224
With schutdown all script from /etc/rc2.d work.

You can make a test.

Write a script example K01test
echo 'Test' >/your_dir/file_test
and
chmod a+x  K01test.

If you start  schutdown after reboot find the file /your_dir/file_test
If you  start  init 6 you have not the  file .

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question