Gentoo Linux - Viewing and Managing Runlevels

[Gentoo Linux] Viewing and Managing Runlevels

A small way to manage the init scripts and runlevels under Gentoo.
The Gentoo Linux distribution consists of 4 main levels of runlevels:
  • boot
  • default
  • nonetwork
  • single

To handle, it is recommended to use the command /sbin/rc-update.
  • Adding a service at startup

#rc-update add script <runlevels>

#rc-update -a script <runlevels>
    • Example

# rc-update add MySQL default 
  • Deleting a service at startup

#rc-update del script <runlevels>

#rc-update -d script <runlevels>
    • Example

# rc-update del MySQL default
  • Display service at startup

#rc-update show

#rc-update -s
  • Display the status of services at Startup

Published by jak58. Latest update on August 6, 2009 at 02:31 PM by jak58.
This document, titled "Gentoo Linux - Viewing and Managing Runlevels," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Gentoo Linux - Restoring the root password
Gentoo Linux - - Color the man pages