init 6: what script to boot the system

Posted on 2004-10-17
Medium Priority
Last Modified: 2013-12-27

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
Question by:ebi168
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
LVL 38

Accepted Solution

yuzh earned 270 total points
ID: 12335845
Have a look at "Booting process in Solaris":

Expert Comment

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)

shutdown -y -i6 -g5

Look man shutdown

or cat /etc/shutdown


Author Comment

ID: 12339350

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

Assisted Solution

Otetelisanu earned 180 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
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 .


Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

771 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