特殊:Badtitle/NS100:BootupScript
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BootupScript }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/af | • {{#if: UbuntuHelp:BootupScript|Afrikaans| [[::BootupScript/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ar | • {{#if: UbuntuHelp:BootupScript|العربية| [[::BootupScript/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/az | • {{#if: UbuntuHelp:BootupScript|azərbaycanca| [[::BootupScript/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/bcc | • {{#if: UbuntuHelp:BootupScript|جهلسری بلوچی| [[::BootupScript/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/bg | • {{#if: UbuntuHelp:BootupScript|български| [[::BootupScript/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/br | • {{#if: UbuntuHelp:BootupScript|brezhoneg| [[::BootupScript/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ca | • {{#if: UbuntuHelp:BootupScript|català| [[::BootupScript/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/cs | • {{#if: UbuntuHelp:BootupScript|čeština| [[::BootupScript/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/de | • {{#if: UbuntuHelp:BootupScript|Deutsch| [[::BootupScript/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/el | • {{#if: UbuntuHelp:BootupScript|Ελληνικά| [[::BootupScript/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/es | • {{#if: UbuntuHelp:BootupScript|español| [[::BootupScript/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/fa | • {{#if: UbuntuHelp:BootupScript|فارسی| [[::BootupScript/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/fi | • {{#if: UbuntuHelp:BootupScript|suomi| [[::BootupScript/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/fr | • {{#if: UbuntuHelp:BootupScript|français| [[::BootupScript/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/gu | • {{#if: UbuntuHelp:BootupScript|ગુજરાતી| [[::BootupScript/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/he | • {{#if: UbuntuHelp:BootupScript|עברית| [[::BootupScript/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/hu | • {{#if: UbuntuHelp:BootupScript|magyar| [[::BootupScript/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/id | • {{#if: UbuntuHelp:BootupScript|Bahasa Indonesia| [[::BootupScript/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/it | • {{#if: UbuntuHelp:BootupScript|italiano| [[::BootupScript/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ja | • {{#if: UbuntuHelp:BootupScript|日本語| [[::BootupScript/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ko | • {{#if: UbuntuHelp:BootupScript|한국어| [[::BootupScript/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ksh | • {{#if: UbuntuHelp:BootupScript|Ripoarisch| [[::BootupScript/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/mr | • {{#if: UbuntuHelp:BootupScript|मराठी| [[::BootupScript/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ms | • {{#if: UbuntuHelp:BootupScript|Bahasa Melayu| [[::BootupScript/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/nl | • {{#if: UbuntuHelp:BootupScript|Nederlands| [[::BootupScript/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/no | • {{#if: UbuntuHelp:BootupScript|norsk| [[::BootupScript/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/oc | • {{#if: UbuntuHelp:BootupScript|occitan| [[::BootupScript/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/pl | • {{#if: UbuntuHelp:BootupScript|polski| [[::BootupScript/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/pt | • {{#if: UbuntuHelp:BootupScript|português| [[::BootupScript/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ro | • {{#if: UbuntuHelp:BootupScript|română| [[::BootupScript/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/ru | • {{#if: UbuntuHelp:BootupScript|русский| [[::BootupScript/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/si | • {{#if: UbuntuHelp:BootupScript|සිංහල| [[::BootupScript/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/sq | • {{#if: UbuntuHelp:BootupScript|shqip| [[::BootupScript/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/sr | • {{#if: UbuntuHelp:BootupScript|српски / srpski| [[::BootupScript/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/sv | • {{#if: UbuntuHelp:BootupScript|svenska| [[::BootupScript/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/th | • {{#if: UbuntuHelp:BootupScript|ไทย| [[::BootupScript/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/tr | • {{#if: UbuntuHelp:BootupScript|Türkçe| [[::BootupScript/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/vi | • {{#if: UbuntuHelp:BootupScript|Tiếng Việt| [[::BootupScript/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/yue | • {{#if: UbuntuHelp:BootupScript|粵語| [[::BootupScript/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/zh | • {{#if: UbuntuHelp:BootupScript|中文| [[::BootupScript/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/zh-hans | • {{#if: UbuntuHelp:BootupScript|中文(简体)| [[::BootupScript/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript}}/zh-hant | • {{#if: UbuntuHelp:BootupScript|中文(繁體)| [[::BootupScript/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BootupScript|:BootupScript|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BootupScript/zh | | {{#ifexist: BootupScript/zh | | {{#ifeq: {{#titleparts:BootupScript|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BootupScript|1|-1|}} | zh | | }}
Init scripts are small shell programs that usually control services, also known as daemons. The /etc/init.d directory contains the scripts executed by init at boot time and when the init state.
Rcconf
Rcconf allows you to control which services are started when the system boots up or reboots. It displays a menu of all the services which could be started at boot. The ones that are configured to do so are marked and you can toggle individual services on and off.This tool configures system services in connection with system runlevels. It turns on/off services using the scripts in /etc/init.d/. Rcconf works with System-V style runlevel configuration. It is a TUI(Text User Interface) frontend to the update-rc.d command. Rcconf gets a list of services from /etc/init.d and looks in the /etc/rc?.d directories to determine whether each service is on or off. If the number(NN of /etc/rc?.d/NNname) is not 20(default), rcconf saves the service name and the number in /var/lib/rcconf/services so as to be able to restore the service to its original configuration. Install rcconf : sudo apt-get install rcconf This will complete the installation now if you want to run this application use the following command rcconf In the screen, you can select which services you want to run at boot time.