特殊:Badtitle/NS100:BootupScript/zh:修订间差异
创建新页面为 '{{Translation}} {{From|https://help.ubuntu.com/community/BootupScript}} {{Translator|xcch}} {{Languages|UbuntuHelp:BootupScript}} Init scripts are small shell programs that usua...' |
无编辑摘要 |
||
第1行: | 第1行: | ||
{{ | {{Copyedit translation}} | ||
{{From|https://help.ubuntu.com/community/BootupScript}} | {{From|https://help.ubuntu.com/community/BootupScript}} | ||
{{Translator|xcch}} | {{Translator|xcch}} |
2009年6月17日 (三) 01:43的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BootupScript }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/af | • {{#if: UbuntuHelp:BootupScript|Afrikaans| [[::BootupScript/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ar | • {{#if: UbuntuHelp:BootupScript|العربية| [[::BootupScript/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/az | • {{#if: UbuntuHelp:BootupScript|azərbaycanca| [[::BootupScript/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/bcc | • {{#if: UbuntuHelp:BootupScript|جهلسری بلوچی| [[::BootupScript/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/bg | • {{#if: UbuntuHelp:BootupScript|български| [[::BootupScript/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/br | • {{#if: UbuntuHelp:BootupScript|brezhoneg| [[::BootupScript/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ca | • {{#if: UbuntuHelp:BootupScript|català| [[::BootupScript/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/cs | • {{#if: UbuntuHelp:BootupScript|čeština| [[::BootupScript/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/de | • {{#if: UbuntuHelp:BootupScript|Deutsch| [[::BootupScript/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/el | • {{#if: UbuntuHelp:BootupScript|Ελληνικά| [[::BootupScript/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/es | • {{#if: UbuntuHelp:BootupScript|español| [[::BootupScript/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/fa | • {{#if: UbuntuHelp:BootupScript|فارسی| [[::BootupScript/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/fi | • {{#if: UbuntuHelp:BootupScript|suomi| [[::BootupScript/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/fr | • {{#if: UbuntuHelp:BootupScript|français| [[::BootupScript/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/gu | • {{#if: UbuntuHelp:BootupScript|ગુજરાતી| [[::BootupScript/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/he | • {{#if: UbuntuHelp:BootupScript|עברית| [[::BootupScript/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/hu | • {{#if: UbuntuHelp:BootupScript|magyar| [[::BootupScript/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/id | • {{#if: UbuntuHelp:BootupScript|Bahasa Indonesia| [[::BootupScript/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/it | • {{#if: UbuntuHelp:BootupScript|italiano| [[::BootupScript/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ja | • {{#if: UbuntuHelp:BootupScript|日本語| [[::BootupScript/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ko | • {{#if: UbuntuHelp:BootupScript|한국어| [[::BootupScript/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ksh | • {{#if: UbuntuHelp:BootupScript|Ripoarisch| [[::BootupScript/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/mr | • {{#if: UbuntuHelp:BootupScript|मराठी| [[::BootupScript/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ms | • {{#if: UbuntuHelp:BootupScript|Bahasa Melayu| [[::BootupScript/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/nl | • {{#if: UbuntuHelp:BootupScript|Nederlands| [[::BootupScript/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/no | • {{#if: UbuntuHelp:BootupScript|norsk| [[::BootupScript/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/oc | • {{#if: UbuntuHelp:BootupScript|occitan| [[::BootupScript/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/pl | • {{#if: UbuntuHelp:BootupScript|polski| [[::BootupScript/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/pt | • {{#if: UbuntuHelp:BootupScript|português| [[::BootupScript/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ro | • {{#if: UbuntuHelp:BootupScript|română| [[::BootupScript/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/ru | • {{#if: UbuntuHelp:BootupScript|русский| [[::BootupScript/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/si | • {{#if: UbuntuHelp:BootupScript|සිංහල| [[::BootupScript/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/sq | • {{#if: UbuntuHelp:BootupScript|shqip| [[::BootupScript/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/sr | • {{#if: UbuntuHelp:BootupScript|српски / srpski| [[::BootupScript/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/sv | • {{#if: UbuntuHelp:BootupScript|svenska| [[::BootupScript/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/th | • {{#if: UbuntuHelp:BootupScript|ไทย| [[::BootupScript/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/tr | • {{#if: UbuntuHelp:BootupScript|Türkçe| [[::BootupScript/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/vi | • {{#if: UbuntuHelp:BootupScript|Tiếng Việt| [[::BootupScript/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/yue | • {{#if: UbuntuHelp:BootupScript|粵語| [[::BootupScript/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/zh | • {{#if: UbuntuHelp:BootupScript|中文| [[::BootupScript/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/zh-hans | • {{#if: UbuntuHelp:BootupScript|中文(简体)| [[::BootupScript/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BootupScript | UbuntuHelp:BootupScript | {{#if: | :}}BootupScript/zh}}/zh-hant | • {{#if: UbuntuHelp:BootupScript|中文(繁體)| [[::BootupScript/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BootupScript|:BootupScript/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BootupScript/zh/zh | | {{#ifexist: BootupScript/zh/zh | | {{#ifeq: {{#titleparts:BootupScript/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BootupScript/zh|1|-1|}} | zh | | }}
Init scripts are small shell programs that usually control services, also known as daemons. 系统的初始化脚本通常是一些用于控制某些服务的小程序,又被称为守护程序。它们通常位于目录/etc/init.d下,在系统启动的初始时候被执行。
Rcconf工具
Rcconf allows you to control which services are started when the system Rcconf允许你配置那些系统启动或者重启时候要执行的服务。它把这些服务清单打印出来,然后你可以去自由配置它们(打开或者关闭某个服务)。该工具要在系统优先级下运行,它通过/etc/init.d/下的脚本来实际打开/关闭服务。它是update-rc.d命令的TUI(文字用户接口)前端。它从/etc/init.d得到服务列表,然后在/etc/rc?.d目录下检查每个服务的开/关情况。如果/etc/rc?.d/NNname中的NN不是20(缺省),rcconf保存服务名和对应数字(前面的NN)在/var/lin/rcconf/services中,这样可以随时恢复到原始配置。
安装rcconf: sudo apt-get install rcconf
成功安装后,你可以用以命令来使用该程序 rcconf 现在,你已经可以选择决定启动时运行哪些服务了。