1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-7.2">
15 <div class="navheader">
17 Linux From Scratch - Version 7.2
24 <a accesskey="p" href="chapter07.html" title=
25 "ブートスクリプトの設定">前のページ</a>
31 <a accesskey="n" href="network.html" title=
32 "全般的なネットワークの設定">次のページ</a>
38 <a accesskey="u" href="chapter07.html" title=
39 "第7章 ブートスクリプトの設定">上に戻る</a>
42 <a accesskey="h" href="../index.html" title=
43 "Linux From Scratch - Version 7.2">ホーム</a>
47 <div class="sect1" lang="ja" xml:lang="ja">
49 <a id="ch-scripts-introduction" name=
50 "ch-scripts-introduction"></a>7.1. はじめに
53 この章では、設定ファイルやブートスクリプトについて説明します。
54 まずはネットワークの設定に必要となる全般的な設定ファイルについて説明します。
56 <div class="itemizedlist">
60 <a class="xref" href="network.html" title=
61 "7.2. 全般的なネットワークの設定">7.2.「全般的なネットワークの設定」</a>
66 <a class="xref" href="hosts.html" title=
67 "7.3. /etc/hosts ファイルの設定">7.3.「/etc/hosts ファイルの設定」</a>
73 次にデバイス設定を適切に行う方法について説明します。
75 <div class="itemizedlist">
79 <a class="xref" href="udev.html" title=
80 "7.4. LFS システムにおけるデバイスとモジュールの扱い">7.4.「LFS
81 システムにおけるデバイスとモジュールの扱い」</a>
86 <a class="xref" href="symlinks.html" title=
87 "7.5. デバイスへのシンボリックリンクの生成">7.5.「デバイスへのシンボリックリンクの生成」</a>
93 その次の節では、ブートプロセスにて必要となる LFS システムのスクリプトについて、そのインストールや設定方法を示します。
94 スクリプトのほとんどは修正する必要がありませんが、一部に追加修正を要するものもあります。
95 それはハードウェアに依存する情報を取り扱うためです。
98 System V系のスクリプトが広く用いられていて比較的単純であることから、本書でもこれを利用します。 これとは別の方法として BSD
99 系の初期化スクリプトがあり <a class="ulink" href=
100 "http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt">http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt</a>
101 にて説明されています。 また LFS メーリングリストで「<span class=
102 "quote">depinit</span>」、「<span class=
103 "quote">upstart</span>」、「<span class=
104 "quote">systemd</span>」という語を検索してみれば、さらに別の方法が示されていますので確認してください。
107 初期化スクリプトに関して別の方法をとるのであれば、本章は読み飛ばしてください。
110 ブートスクリプトの一覧は <a class="xref" href="../scripts/scripts.html" title=
111 "付録 D. ブートスクリプトと sysconfig スクリプト version-20120901">付録 D</a> に示しています。
113 <div class="itemizedlist">
117 <a class="xref" href="bootscripts.html" title=
118 "7.6. LFS-ブートスクリプト-20120901">7.6.「LFS-ブートスクリプト-20120901」</a>
123 <a class="xref" href="usage.html" title=
124 "7.7. ブートスクリプトはどのようにして動くのか">7.7.「ブートスクリプトはどのようにして動くのか」</a>
129 <a class="xref" href="hostname.html" title=
130 "7.8. システムのホスト名の設定">7.8.「システムのホスト名の設定」</a>
135 <a class="xref" href="setclock.html" title=
136 "7.9. Setclock スクリプトの設定">7.9.「Setclock スクリプトの設定」</a>
141 <a class="xref" href="console.html" title=
142 "7.10. Linux コンソールの設定">7.10.「Linux コンソールの設定」</a>
147 <a class="xref" href="sysklogd.html" title=
148 "7.11. Sysklogd スクリプトの設定">7.11.「Sysklogd スクリプトの設定」</a>
154 最後に、ユーザーログが出力される際に利用されるスクリプトや設定ファイルについて概略を示します。
156 <div class="itemizedlist">
160 <a class="xref" href="profile.html" title=
161 "7.13. Bash シェルの初期起動ファイル">7.13.「Bash シェルの初期起動ファイル」</a>
166 <a class="xref" href="inputrc.html" title=
167 "7.14. /etc/inputrc ファイルの生成">7.14.「/etc/inputrc ファイルの生成」</a>
173 <div class="navfooter">
176 <a accesskey="p" href="chapter07.html" title=
177 "ブートスクリプトの設定">前のページ</a>
183 <a accesskey="n" href="network.html" title=
184 "全般的なネットワークの設定">次のページ</a>
190 <a accesskey="u" href="chapter07.html" title=
191 "第7章 ブートスクリプトの設定">上に戻る</a>
194 <a accesskey="h" href="../index.html" title=
195 "Linux From Scratch - Version 7.2">ホーム</a>