InitScriptList

Differences between revisions 11 and 12
Revision 11 as of 2005-12-15 20:18:38
Size: 5330
Editor: 66
Comment:
Revision 12 as of 2006-03-25 19:03:12
Size: 5508
Editor: cpe-069-132-052-158
Comment: Describes some initscripts rsync, lvm...
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
|| cron || Daemon to execute scheduled commands || || || cron || Daemon to execute scheduled commands ||  ||
Line 47: Line 47:
|| lvm || || || || lvm || Logical Volume Manager|| ||
Line 58: Line 58:
|| powernowd || || || || powernowd || Adjusts the cpu frequency to conserve power || For saving battery life in laptops ||
Line 67: Line 67:
|| rsync || || || || rsync || Starts and stops the Rsync Daemon || If you are running an Rsync server/mirror ||

List of default Ubuntu init scripts

It would be nice to have a complete list of default Ubuntu init scripts. Like that users can lookup which ones they can easily deactivate to speedup the boot process and save memory. This page could eventually merged with UbuntuBootupHowto.

There's also a page InitScriptHumanDescriptions now, which is more complete and aims to provide short, human-readable descriptors for init scripts.

Warning /!\ As you see, it is not ready yet, feel free to change and fill in everything you know.

Name

What it does

When do I need it?

acpid

Starts the ACPI daemon process

If you have an ACPI-enabled system

acpi-support

alsa

Starts the ALSA sound daemon

Using ALSA sound (recommended)

anacron

Runs cron jobs that occured while the machine was offline

apache2

Starts the apache web server

Only if you want to run a web server locally (not a web browser!)

apmd

Starts the Advanced Power Management system

Using a laptop and need power management

atd

Daemon to run jobs queued by at

bootclean.sh

bootlogd

Enables the logging of the boot, one of first scripts to run

To view the log of your boot

bootmisc.sh

checkfs.sh

Check all file systems

checkroot.sh

Check the root file system

console-screen.sh

Boot script for console-tools

cron

Daemon to execute scheduled commands

cupsys

Unix Printing Services

dbus-1

dhcp

dns-clean

Pppconfig dns cleanup

evms

??

festival

fetchmail

gdm

Gnome display manager daemon for X

halt

Don't mess with this!

hdparm

hostname.sh

Set hostname

hotplug

hwclockfirst.sh

Sets the system clock from the hardware clock

hwclock.sh

ifupdown

Network interface configuration

ifupdown-clean

inetd

Network "super-server" daemon

initrd-tools.sh

irda-utils

keymap.sh

klogd

Kernel logging daemon

libdevmapper1.00

lirc

Starts the Linux Infrared Control system

Have a need for infra-red device control

lvm

Logical Volume Manager

makedev

Don't mess with this!

module-init-tools

mountall.sh

Mount all file systems

mountnfs.sh

Mount NFS file systems

mountvirtfs

mysql

Starts the MySQL Server

If you have MySQL Server installed (Database Server)

networking

Manage network interfaces and configure options

ntpdate

updates the system time using the Network Time Protocol

only if you have a network connection which is always online

pcmcia

only for laptops with PCMCIA slot

postfix

Starts the PostFix mail transport agent

powernowd

Adjusts the cpu frequency to conserve power

For saving battery life in laptops

ppp

Start or stop PPP daemon

pppd-dns

Clean up /etc/resolv.conf after pppd

procps.sh

Don't mess with this!

rc

rcS

readahead

reboot

Don't mess with this!

rmnologin

Don't mess with this!

rsync

Starts and stops the Rsync Daemon

If you are running an Rsync server/mirror

screen-cleanup

sendsigs

Don't mess with this!

single

Don't mess with this!

skeleton

ssh

Starts the OpenSSH Server

Only if OpenSSH is installed

stop-bootlogd

sudo

Clear privileges

sysklogd

System log daemon

udev

udev-mtab

umountfs

Unmount file systems

umountnfs.sh

Unmount network file systems

urandom

Don't mess with this!

vbesave

xorg-common

List of non-default init scripts

Name

What it does

When do I need it?

webmin

A web-based admin interface

To control a remote server

FAQ

What are the different runlevels for?

  • Runlevel 0 stands for shutdown
  • Runlevel 2 is the default runlevel for the Ubuntu boot process
  • Runlevel 6 stands for reboot

Why does Ubuntu uses runlevel 2 as default? Will I ever need 3-5?

  • Does anyone have an answer to this? Most other distros use runlevel 5 for GUI and runlevel 3 for console. Runlevel 2 is usually almost complete but networking disabled. I visit clients with my laptop, and it would be very useful to boot up quickly without networking in these cases. With Ubuntu's current use of runlevels there's not much room for this.

What is in /etc/rcS.d?

  • The links you find in there are executed before executing runlevel 1-5.

What does '''K''' and '''S''' stand for?

  • K stands stops a process, S starts it.

What do the numbers between '''K''' / '''S''' and the initscript name mean?

  • these numbers determine the order in which the various scripts get executed. S35mountall.sh is executed before S40hotplug.

How do I deactivate a script at bootup?

CategoryDocumentation CategoryCleanup

InitScriptList (last edited 2008-08-06 16:30:27 by localhost)