Solved

init 6: what script to boot the system

Posted on 2004-10-17
4
1,045 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

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

728 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