下面是/etc/rc2.D目录下的所有脚步文件,其实都是/etc/init.d目录下文件的符号链接
#前面带@号的文件代表mid版本相对于现在的官方arm版本而特有的文件
S01policykit:(PolicyKit是一组应用程序级别的API,用来定义和处理让无特权的进程(即非root用户启动的进程)
来处理一些特权的任务。凭借着即时而且完善的验证机制,应用程序将有很大的灵活性。一般情况下用户可以使用软件来做
一些普通操作,当需要进行特权操作时,可以通过PolicyKit获取操作权限)
----------------------------------------------------------------------------------------------
# Provides: policykit
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Create PolicyKit runtime directories
# Description: Create directories which PolicyKit needs at runtime,
# such as /var/run/PolicyKit
@ S10acpid(Acpid是一个用户空间的服务进程,它充当linux内核与应用程序之间通信的接口,负责将kernel中的电源管理事件转发给应用程序。)
-----------------------------------------------------------------------------------------------
# Provides: acpid
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# X-Start-Before: kdm gdm xdm hal
# X-Stop-After: kdm gdm xdm hal
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: Start the Advanced Configuration and Power Interface daemon
# Description: Provide a socket for X11, hald and others to multiplex
# kernel ACPI events.
@ S10moblin-applets(加载acpi模块)
----------------------------------------------------------------------------------------------
@ S10powernowd.early(powernowd是一个很小巧的频率管理软件,其管理方式和ondemand差不多,都是动态调节。
具体就是在负载变大时将频率调节到最大,然后在负载变小后将频率慢慢降低,降低频率时是以正弦函数曲线的方式进行的。
powernowd是通过sysfs接口来调节频率的。)
-----------------------------------------------------------------------------------------------
# Set DO_MODULES to yes which will trigger the module loading part of the
# powernowd init script instead of the daemon part.
DO_MODULES=yes
. /etc/init.d/powernowd
S10sysklogd(启动系统日志进程)
-----------------------------------------------------------------------------------------------
# /etc/init.d/sysklogd: start the system log daemon.
### BEGIN INIT INFO
# Provides: sysklogd
# Required-Start: $remote_fs $time
# Required-Stop: $remote_fs $time
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: System logger
### END INIT INFO
S11klogd(启动内核日志进程)
-----------------------------------------------------------------------------------------------
#! /bin/sh
# /etc/init.d/klogd: start the kernel log daemon.
### BEGIN INIT INFO
# Provides: klogd
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: Kernel logger
### END INIT INFO
S12dbus(D-Bus is a simple interprocess messaging system, used for sending messages between applications.
D-BUS 是一个大有前途的消息总线和活动系统,D-BUS 本质上是 进程间通信(inter-process communication)(IPC)的一个实现)
-------------------------------------------------------------------------------------------------
### BEGIN INIT INFO
# Provides: dbus
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: D-Bus systemwide message bus
# Description: D-Bus is a simple interprocess messaging system, used
# for sending messages between applications.
@ S20powernowd(启动powernowd)
---------------------------------------------------------------------------------------------------
S24hal(硬件抽象层)
---------------------------------------------------------------------------------------------------
### BEGIN INIT INFO
# Provides: hal
# Required-Start: $remote_fs dbus
# Required-Stop: $remote_fs dbus
# Should-Start: $syslog acpid
# Should-Stop: $syslog acpid
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: Hardware abstraction layer
# Description: The HAL daemon collects and maintains information about
# your hardware.
### END INIT INFO
S25buletooth(启动蓝牙进程)
-----------------------------------------------------------------------------------------------------
@ S25ubuntu-mid-default-settings(*****)
-----------------------------------------------------------------------------------------------------
. /etc/environment
[ -x /usr/share/ubuntu-mid-default-settings/mid-gui-start ] || exit 0 :
matchbox
/usr/bin/matchbox-window-manager
/usr/lib/sapwood/sapwood-server &
/usr/bin/hildon-desktop
. /lib/init/vars.sh
. /lib/lsb/init-functions
@ S25xserver-xorg-input-evtouch
-----------------------------------------------------------------------------------------------------
/usr/bin/hal-set-property ]
/usr/bin/hal-find-by-property
@ S29ubiquity
-----------------------------------------------------------------------------------------------------
# Short-Description: Ubuntu live CD installer
# Description: Installs Ubuntu from a live CD. This only does anything
# if told to do so by parameters on the kernel command
# line; otherwise, the installer may be started manually
# later.
S50avahi-daemon
------------------------------------------------------------------------------------------------------
# Short-Description: Avahi mDNS/DNS-SD Daemon
# Description: Zeroconf daemon for configuring your network
# automatically
S50cups(打印服务)
-------------------------------------------------------------------------------------------------------
# Short-Description: CUPS Printing spooler and server
S50NetworkManger(网络管理服务)
-------------------------------------------------------------------------------------------------------
# Short-Description: network connection manager
# Description: Daemon for automatically switching network
# connections to the best available connection.
@ S50pulseaudio(音频服务)
--------------------------------------------------------------------------------------------------------
# Short-Description: Start the PulseAudio sound server
# Description: System mode startup script for
# the PulseAudio sound server.
S50system-tools-backends
--------------------------------------------------------------------------------------------------------
# Short-Description: Gnome System Tools Backends
# Description: The Gnome System Tools Backends daemon handles root-needed
# operations to configure your machine with the Gnome System
# Tools.
S70bootligs.sh(启动日志服务)
--------------------------------------------------------------------------------------------------------
# Provides: bootlogs
# Required-Start: gdm
# Required-Stop:
# Should-Start:
# Default-Start: 1 2 3 4 5
# Default-Stop:
# Short-Description: Log file handling to be done during bootup.
# Description: Various things that don't need to be done particularly early in the boot, just before getty is run.
S70pppd-dns(如果系统崩溃了还原resolv.conf文件)
---------------------------------------------------------------------------------------------------------
# Provides: pppd-dns
# Required-Start: $local_fs gdm
# Required-Stop:
# Default-Start: 1 2 3 4 5
# Default-Stop:
# Short-Description: Restore resolv.conf if the system crashed.
S89anacron(而 anacron 可以在每天、每周、每月(时间轮回天数可以自己指定)服务启动时便会
将所有服务置为 Ready 状态,只等时间一到,便执行任务。)
----------------------------------------------------------------------------------------------------------
@ S89atd(atd是at工具的守护进程,他提交的工作是放在/var/spool/at目录下,等待被atd
执行!他有两个访问控制文件可疑限制使用at工具,
/etc/at.allow #被授权可以使用at工具的用户列表
/etc/at.deny #被禁止的用户列表
...
at,cron等计划任务的解释,见:)
----------------------------------------------------------------------------------------------------------
# Short-Description: Deferred execution scheduler
# Description: Debian init script for the atd deferred executions
# scheduler
S89cron(cron是一个linux下的定时执行工具,可以在无需人工干预的情况下运行作业。由于Cron 是Linux的内置服务)
-----------------------------------------------------------------------------------------------------------
# Short-Description: Regular background program processing daemon
# Description: cron is a standard UNIX program that runs user-specified
# programs at periodic scheduled times. vixie cron adds a
# number of features to the basic UNIX cron, including better
# security and more powerful configuration options.
S98usplash(设置更改ubuntu的启动画面)
-----------------------------------------------------------------------------------------------------------
# Short-Description: Integrate usplash into the boot process
# Description: This script deals with some awkward details of integrating
# the userspace bootsplash screen into the boot process. On
# start it stops the usplash daemon (counter-intuitive, but
# usplash was already started in the initramfs); on stop, it
# calls usplash_down (unless usplash is already running).
@ S99acpi-support
-------------------------------------------------------------------------------------------------------------
@ S99laptop-mode(电源管理)
-------------------------------------------------------------------------------------------------------------
# Short-Description: Enable laptop-mode-tools power management functions
# Description: Enable laptop-mode-tools power management functions
@ S99moblin-system-daemon
-------------------------------------------------------------------------------------------------------------
S99ondemand
-------------------------------------------------------------------------------------------------------------
# Short-Description: Set the CPU Frequency Scaling governor to "ondemand"
S99rc.local
-------------------------------------------------------------------------------------------------------------
# Short-Description: Run /etc/rc.local if it exist
S99rmnologin
--------------------------------------------------------------------------------------------------------------
# Description: This script removes the /etc/nologin file as the
# last step in the boot process, if DELAYLOGIN=yes.
# If DELAYLOGIN=no, /etc/nologin was not created by
# bootmisc earlier in the boot process.
阅读(963) | 评论(0) | 转发(0) |