aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/zh-cn/books/handbook/config
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-11-03 16:39:08 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-11-03 16:44:52 +0000
commit64acd169b82416fe39ad8c4b1be106680d4a3eb3 (patch)
tree05b8bc3182dc4cfcf0a8a0964b4303903a4abf56 /documentation/content/zh-cn/books/handbook/config
parent0636d709faeb6b7d1a44882ae33a02015d32774b (diff)
Diffstat (limited to 'documentation/content/zh-cn/books/handbook/config')
-rw-r--r--documentation/content/zh-cn/books/handbook/config/_index.adoc48
1 files changed, 23 insertions, 25 deletions
diff --git a/documentation/content/zh-cn/books/handbook/config/_index.adoc b/documentation/content/zh-cn/books/handbook/config/_index.adoc
index c5d53bf63f..1c815c5085 100644
--- a/documentation/content/zh-cn/books/handbook/config/_index.adoc
+++ b/documentation/content/zh-cn/books/handbook/config/_index.adoc
@@ -13,37 +13,35 @@ next: books/handbook/boot
:icons: font
:sectnums:
:sectnumlevels: 6
+:sectnumoffset: 12
+:partnums:
:source-highlighter: rouge
:experimental:
-:skip-front-matter:
-:toc-title: 目录
-:table-caption: 表
-:figure-caption: 图
-:example-caption: 例
-:xrefstyle: basic
-:relfileprefix: ../
-:outfilesuffix:
-:sectnumoffset: 12
-
-ifeval::["{backend}" == "html5"]
-:imagesdir: ../../../images/books/handbook/config/
-endif::[]
-
-ifeval::["{backend}" == "pdf"]
-:imagesdir: ../../../../static/images/books/handbook/config/
-endif::[]
+:images-path: books/handbook/config/
-ifeval::["{backend}" == "epub3"]
-:imagesdir: ../../../../static/images/books/handbook/config/
+ifdef::env-beastie[]
+ifdef::backend-html5[]
+:imagesdir: ../../../../images/{images-path}
endif::[]
-
+ifndef::book[]
include::shared/authors.adoc[]
+include::shared/mirrors.adoc[]
include::shared/releases.adoc[]
-include::shared/zh-cn/mailing-lists.adoc[]
-include::shared/zh-cn/teams.adoc[]
-include::shared/zh-cn/urls.adoc[]
+include::shared/attributes/attributes-{{% lang %}}.adoc[]
+include::shared/{{% lang %}}/teams.adoc[]
+include::shared/{{% lang %}}/mailing-lists.adoc[]
+include::shared/{{% lang %}}/urls.adoc[]
+toc::[]
+endif::[]
+ifdef::backend-pdf,backend-epub3[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
+endif::[]
+ifndef::env-beastie[]
toc::[]
+include::../../../../../shared/asciidoctor.adoc[]
+endif::[]
[[config-synopsis]]
== 概述
@@ -269,7 +267,7 @@ HOME=/var/log
[IMPORTANT]
====
-绝对不要用这种方法来编辑/安装系统 crontab。 您需要做的只是使用自己喜欢的编辑器: `cron` 程序会注意到文件发生了变化, 并立即开始使用新的版本。参见 link:{faq}#ROOT-NOT-FOUND-CRON-ERRORS[这个 FAQ 项目] 以了解进一步的情况。
+绝对不要用这种方法来编辑/安装系统 crontab。 您需要做的只是使用自己喜欢的编辑器: `cron` 程序会注意到文件发生了变化, 并立即开始使用新的版本。参见 extref:{faq}[这个 FAQ 项目, ROOT-NOT-FOUND-CRON-ERRORS] 以了解进一步的情况。
====
要安装刚写好的用户 [.filename]#crontab#, 首先使用最习惯的编辑器来创建一个符合要求格式的文件,然后用 `crontab` 程序来完成。最常见的用法是:
@@ -359,7 +357,7 @@ Starting background file system checks in 60 seconds.
通过在启动脚本中仔细设定这些关键字, 系统管理员可以很有条理的控制脚本的启动顺序, 进而避免使用像其他 UNIX(R) 操作系统那样混乱的 "runlevels"。
-更多关于 [.filename]#rc.d# 系统的信息, 可以在 man:rc[8] 和 man:rc.subr[8] 联机手册中找到。 如果您有意撰写自己的 [.filename]#rc.d# 脚本, 或对现有的脚本进行一些改进, 也可以参考 link:{rc-scripting}[这篇文章]。
+更多关于 [.filename]#rc.d# 系统的信息, 可以在 man:rc[8] 和 man:rc.subr[8] 联机手册中找到。 如果您有意撰写自己的 [.filename]#rc.d# 脚本, 或对现有的脚本进行一些改进, 也可以参考 extref:{rc-scripting}[这篇文章]。
[[config-network-setup]]
== 设置网卡