特殊:Badtitle/NS100:InitScriptList:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/InitScriptList}} | {{From|https://help.ubuntu.com/community/InitScriptList}} | ||
{{Languages|UbuntuHelp:InitScriptList}} | {{Languages|UbuntuHelp:InitScriptList}} | ||
<<Include(Tag/NeedsExpansion)>> | |||
=== List of default Ubuntu init scripts === | === 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 [[UbuntuHelp:UbuntuBootupHowto|UbuntuBootupHowto]]. | 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 [[UbuntuHelp:UbuntuBootupHowto|UbuntuBootupHowto]]. | ||
There's also a page InitScriptHumanDescriptions now, which is more complete and aims to provide short, human-readable descriptors for init scripts. | There's also a page [[UbuntuWiki:InitScriptHumanDescriptions|InitScriptHumanDescriptions]] now, which is more complete and aims to provide short, human-readable descriptors for init scripts. | ||
/!\ As you see, it is not ready yet, feel free to change and fill in everything you know. | /!\ As you see, it is not ready yet, feel free to change and fill in everything you know. | ||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
第21行: | 第22行: | ||
|- | |- | ||
| atd || Daemon to run jobs queued by at || | | atd || Daemon to run jobs queued by at || | ||
|- | |||
| apport || Bug/crash reporting || In unstable releases, not suggested used for stable release | |||
|- | |||
| avahi-daemon || Network auto-discovery, same as Apple's Bonjour || Useful for music sharing and networks with OS X clients | |||
|- | |- | ||
| bootclean.sh || || | | bootclean.sh || || | ||
第27行: | 第32行: | ||
|- | |- | ||
| bootmisc.sh || || | | bootmisc.sh || || | ||
|- | |||
| bluetooth || Bluetooth service || If you use bluetooth | |||
|- | |- | ||
| checkfs.sh || Check all file systems || | | checkfs.sh || Check all file systems || | ||
第51行: | 第58行: | ||
|- | |- | ||
| gdm || Gnome display manager daemon for X|| | | gdm || Gnome display manager daemon for X|| | ||
|- | |||
| hal || Device manager, ex. CD-ROM and USB || | |||
|- | |- | ||
| halt || || Don't mess with this! | | halt || || Don't mess with this! | ||
第77行: | 第86行: | ||
|- | |- | ||
| klogd || Kernel logging daemon || | | klogd || Kernel logging daemon || | ||
|- | |||
| kvm || Virtualization, alternative to VMWare || | |||
|- | |- | ||
| libdevmapper1.00 || || | | libdevmapper1.00 || || | ||
第100行: | 第111行: | ||
| networking || Manage network interfaces and configure options || | | 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 | | ntpdate/ntpd || updates the system time using the Network Time Protocol || only if you have a network connection which is always online | ||
|- | |||
| ondemand || CPU frequency policy - adjust CPU speed after demand|| Generally useful, recommended by Intel | |||
|- | |- | ||
| pcmcia || || only for laptops with PCMCIA slot | | pcmcia || || only for laptops with PCMCIA slot | ||
第113行: | 第126行: | ||
|- | |- | ||
| procps.sh || || Don't mess with this! | | procps.sh || || Don't mess with this! | ||
|- | |||
| pulseaudio || New soundsystem, replaces alsa? || On by default | |||
|- | |- | ||
| rc || || | | rc || || | ||
第125行: | 第140行: | ||
|- | |- | ||
| rsync || Starts and stops the Rsync Daemon || If you are running an Rsync server/mirror | | rsync || Starts and stops the Rsync Daemon || If you are running an Rsync server/mirror | ||
|- | |||
| samba || File sharing on Windows and Apple networks || If you want file sharing | |||
|- | |||
| saned || Scanner support || If you use a USB scanner | |||
|- | |- | ||
| screen-cleanup || || | | screen-cleanup || || | ||
第133行: | 第152行: | ||
|- | |- | ||
| skeleton || || | | skeleton || || | ||
|- | |||
| smartmontools || Tools for monitoring SMART harddrives || | |||
|- | |- | ||
| ssh ||Starts the OpenSSH Server || Only if OpenSSH is installed | | ssh ||Starts the OpenSSH Server || Only if OpenSSH is installed | ||
第151行: | 第172行: | ||
|- | |- | ||
| urandom || || Don't mess with this! | | urandom || || Don't mess with this! | ||
|- | |||
| usplash || Displays splash screen at desktop startup || | |||
|- | |- | ||
| vbesave || || | | vbesave || || | ||
第177行: | 第200行: | ||
==== How do I deactivate a script at bootup? ==== | ==== How do I deactivate a script at bootup? ==== | ||
* see [[UbuntuHelp:UbuntuBootupHowto|UbuntuBootupHowto]] or similarly [[UbuntuHelp:SysvconfigHowTo|SysvconfigHowTo]] or Boot-Up Manager at this thread http://ubuntuforums.org/showthread.php?p=190562 | * see [[UbuntuHelp:UbuntuBootupHowto|UbuntuBootupHowto]] or similarly [[UbuntuHelp:SysvconfigHowTo|SysvconfigHowTo]] or Boot-Up Manager at this thread http://ubuntuforums.org/showthread.php?p=190562 | ||
---- | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 22:48的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/InitScriptList }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/af | • {{#if: UbuntuHelp:InitScriptList|Afrikaans| [[::InitScriptList/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ar | • {{#if: UbuntuHelp:InitScriptList|العربية| [[::InitScriptList/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/az | • {{#if: UbuntuHelp:InitScriptList|azərbaycanca| [[::InitScriptList/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/bcc | • {{#if: UbuntuHelp:InitScriptList|جهلسری بلوچی| [[::InitScriptList/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/bg | • {{#if: UbuntuHelp:InitScriptList|български| [[::InitScriptList/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/br | • {{#if: UbuntuHelp:InitScriptList|brezhoneg| [[::InitScriptList/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ca | • {{#if: UbuntuHelp:InitScriptList|català| [[::InitScriptList/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/cs | • {{#if: UbuntuHelp:InitScriptList|čeština| [[::InitScriptList/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/de | • {{#if: UbuntuHelp:InitScriptList|Deutsch| [[::InitScriptList/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/el | • {{#if: UbuntuHelp:InitScriptList|Ελληνικά| [[::InitScriptList/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/es | • {{#if: UbuntuHelp:InitScriptList|español| [[::InitScriptList/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/fa | • {{#if: UbuntuHelp:InitScriptList|فارسی| [[::InitScriptList/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/fi | • {{#if: UbuntuHelp:InitScriptList|suomi| [[::InitScriptList/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/fr | • {{#if: UbuntuHelp:InitScriptList|français| [[::InitScriptList/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/gu | • {{#if: UbuntuHelp:InitScriptList|ગુજરાતી| [[::InitScriptList/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/he | • {{#if: UbuntuHelp:InitScriptList|עברית| [[::InitScriptList/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/hu | • {{#if: UbuntuHelp:InitScriptList|magyar| [[::InitScriptList/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/id | • {{#if: UbuntuHelp:InitScriptList|Bahasa Indonesia| [[::InitScriptList/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/it | • {{#if: UbuntuHelp:InitScriptList|italiano| [[::InitScriptList/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ja | • {{#if: UbuntuHelp:InitScriptList|日本語| [[::InitScriptList/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ko | • {{#if: UbuntuHelp:InitScriptList|한국어| [[::InitScriptList/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ksh | • {{#if: UbuntuHelp:InitScriptList|Ripoarisch| [[::InitScriptList/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/mr | • {{#if: UbuntuHelp:InitScriptList|मराठी| [[::InitScriptList/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ms | • {{#if: UbuntuHelp:InitScriptList|Bahasa Melayu| [[::InitScriptList/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/nl | • {{#if: UbuntuHelp:InitScriptList|Nederlands| [[::InitScriptList/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/no | • {{#if: UbuntuHelp:InitScriptList|norsk| [[::InitScriptList/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/oc | • {{#if: UbuntuHelp:InitScriptList|occitan| [[::InitScriptList/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/pl | • {{#if: UbuntuHelp:InitScriptList|polski| [[::InitScriptList/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/pt | • {{#if: UbuntuHelp:InitScriptList|português| [[::InitScriptList/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ro | • {{#if: UbuntuHelp:InitScriptList|română| [[::InitScriptList/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/ru | • {{#if: UbuntuHelp:InitScriptList|русский| [[::InitScriptList/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/si | • {{#if: UbuntuHelp:InitScriptList|සිංහල| [[::InitScriptList/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/sq | • {{#if: UbuntuHelp:InitScriptList|shqip| [[::InitScriptList/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/sr | • {{#if: UbuntuHelp:InitScriptList|српски / srpski| [[::InitScriptList/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/sv | • {{#if: UbuntuHelp:InitScriptList|svenska| [[::InitScriptList/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/th | • {{#if: UbuntuHelp:InitScriptList|ไทย| [[::InitScriptList/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/tr | • {{#if: UbuntuHelp:InitScriptList|Türkçe| [[::InitScriptList/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/vi | • {{#if: UbuntuHelp:InitScriptList|Tiếng Việt| [[::InitScriptList/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/yue | • {{#if: UbuntuHelp:InitScriptList|粵語| [[::InitScriptList/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/zh | • {{#if: UbuntuHelp:InitScriptList|中文| [[::InitScriptList/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/zh-hans | • {{#if: UbuntuHelp:InitScriptList|中文(简体)| [[::InitScriptList/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:InitScriptList | UbuntuHelp:InitScriptList | {{#if: | :}}InitScriptList}}/zh-hant | • {{#if: UbuntuHelp:InitScriptList|中文(繁體)| [[::InitScriptList/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:InitScriptList|:InitScriptList|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :InitScriptList/zh | | {{#ifexist: InitScriptList/zh | | {{#ifeq: {{#titleparts:InitScriptList|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:InitScriptList|1|-1|}} | zh | | }}
<<Include(Tag/NeedsExpansion)>>
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. /!\ 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 | |
apport | Bug/crash reporting | In unstable releases, not suggested used for stable release |
avahi-daemon | Network auto-discovery, same as Apple's Bonjour | Useful for music sharing and networks with OS X clients |
bootclean.sh | ||
bootlogd | Enables the logging of the boot, one of first scripts to run | To view the log of your boot |
bootmisc.sh | ||
bluetooth | Bluetooth service | If you use bluetooth |
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 | |
hal | Device manager, ex. CD-ROM and USB | |
halt | Don't mess with this! | |
hdparm | Hard Disk Tuning | |
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 | |
kvm | Virtualization, alternative to VMWare | |
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 | ||
mv | Moves file | If you need to relocate a file to another directory |
mysql | Starts the MySQL Server | If you have MySQL Server installed (Database Server) |
networking | Manage network interfaces and configure options | |
ntpdate/ntpd | updates the system time using the Network Time Protocol | only if you have a network connection which is always online |
ondemand | CPU frequency policy - adjust CPU speed after demand | Generally useful, recommended by Intel |
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! | |
pulseaudio | New soundsystem, replaces alsa? | On by default |
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 |
samba | File sharing on Windows and Apple networks | If you want file sharing |
saned | Scanner support | If you use a USB scanner |
screen-cleanup | ||
sendsigs | Don't mess with this! | |
single | Don't mess with this! | |
skeleton | ||
smartmontools | Tools for monitoring SMART harddrives | |
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! | |
usplash | Displays splash screen at desktop startup | |
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?
- see UbuntuBootupHowto or similarly SysvconfigHowTo or Boot-Up Manager at this thread http://ubuntuforums.org/showthread.php?p=190562