Customizing UNIX system startup

Changing to the reboot state (system state 6)

Rebooting the operating system (defined as system state 6) kills most active processes and forces the computer into a condition similar to powerup. After you install a software package that requires reinitialization of the system for proper operation, reboot the computer. The figure below shows the system state 6 processes (from the sample /etc/inittab file):

   rmsync:056:wait:/etc/conf/bin/idconfupdate
   bd:56:wait:/etc/conf/bin/idrebuild </dev/console >/dev/sysmsg 2>&1
   r0:0:wait:/sbin/rc0 off > /dev/sysmsg 2>&1 </dev/console
   r6:6:wait:/sbin/rc0 reboot > /dev/sysmsg 2>&1 </dev/console
   rb:6:wait:/sbin/uadmin 2 1 >/dev/sysmsg 2>&1 </dev/console

The rc0 and rc6 scripts are linked.

To reboot your computer after reconfiguring it:

  1. Execute:

    shutdown -i6

  2. At the prompt to continue, type y and press <Esc> . to continue with the change to reboot state.

    The system enters run level 6.

    Your system will stay in state 6 only long enough to reconfigure the operating system (if necessary) and to restart the initialization (to reboot the system).


    NOTE: Alternatively, you can press the <Ctrl>, <Alt>, and <Del> keys simultaneously.


Next topic: Modifying .profile and .login files
Previous topic: Changing to networking state (system state 3)

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005