source: clfs-embedded/BOOK/bootscripts/common/bootscripts.xml@ 49f9234

Last change on this file since 49f9234 was 59d0399, checked in by Andrew Bradford <andrew@…>, 11 years ago

Update all bootscripts ch to use ${CLFS}/targetfs

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[a9e389d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a9e389d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-scripts-bootscripts" role="wrap">
9 <?dbhtml filename="bootscripts.html"?>
10
11 <title>CLFS-Bootscripts-&clfs-bootscripts-version;</title>
12
13 <indexterm zone="ch-scripts-bootscripts">
14 <primary sortas="a-Bootscripts">Bootscripts</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The CLFS-Bootscripts package contains a set of scripts to
21 start/stop the CLFS system at bootup/shutdown.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of CLFS-Bootscripts</title>
27
[b38422d1]28 <important>
29
30 <para>Unlike other chapters, after installing the bootscripts, do not
31 delete the bootscripts source directory. The bootscripts source directory
32 may be needed later.</para>
33
34 </important>
35
[a9e389d]36 <para>Install the package:</para>
37
[59d0399]38<screen><userinput>make DESTDIR=${CLFS}/targetfs install-bootscripts</userinput></screen>
[a9e389d]39
[c62f4d4]40 <para>The CLFS startup bootscript is <filename>/etc/rc.d/startup</filename>,
41 but BusyBox will look for <filename>/etc/init.d/rcS</filename> to use as its
42 startup script. To ensure BusyBox finds the startup script, create the
[59d0399]43 <filename>${CLFS}/targetfs/etc/init.d</filename> directory and a symlink:</para>
[c62f4d4]44
[59d0399]45<screen><userinput>install -dv ${CLFS}/targetfs/etc/init.d
46ln -sv ../rc.d/startup ${CLFS}/targetfs/etc/init.d/rcS</userinput></screen>
[c62f4d4]47
[a9e389d]48 </sect2>
49
50 <sect2 id="contents-bootscripts" role="content">
51 <title>Contents of CLFS-Bootscripts</title>
52
53 <segmentedlist>
54 <segtitle>Installed scripts</segtitle>
55
56 <seglistitem>
[86c5fd0]57 <seg>bridge, functions, network, start, stop, and syslog.</seg>
[a9e389d]58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
[86c5fd0]66 <varlistentry id="bridge-bootscripts">
67 <term><command>bridge</command></term>
68 <listitem>
69 <para>Sets up network bridging, if configured</para>
70 <indexterm zone="ch-scripts-bootscripts bridge-bootscripts">
71 <primary sortas="d-bridge">bridge</primary>
72 </indexterm>
73 </listitem>
74 </varlistentry>
75
[a9e389d]76 <varlistentry id="functions-bootscripts">
77 <term><command>functions</command></term>
78 <listitem>
79 <para>Contains common functions, such as error and status checking,
80 that are used by several bootscripts</para>
81 <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
82 <primary sortas="d-functions">functions</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="network-bootscripts">
88 <term><command>network</command></term>
89 <listitem>
90 <para>Sets up network interfaces, such as network cards, and sets up
91 the default gateway (where applicable)</para>
92 <indexterm zone="ch-scripts-bootscripts network-bootscripts">
93 <primary sortas="d-network">network</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
[86c5fd0]98 <varlistentry id="syslog-bootscripts">
99 <term><command>syslog</command></term>
[a9e389d]100 <listitem>
[86c5fd0]101 <para>Starts and stops the system log daemons</para>
102 <indexterm zone="ch-scripts-bootscripts syslog-bootscripts">
103 <primary sortas="d-syslog">syslog</primary>
[a9e389d]104 </indexterm>
105 </listitem>
106 </varlistentry>
107
108 </variablelist>
109
110 </sect2>
111
112</sect1>
Note: See TracBrowser for help on using the repository browser.