[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 |
|
---|
| 28 | <para>Install the package:</para>
|
---|
| 29 |
|
---|
[ead8566] | 30 | <screen><userinput>make DESTDIR=${CLFS} install-bootscripts</userinput></screen>
|
---|
[a9e389d] | 31 |
|
---|
[c62f4d4] | 32 | <para>The CLFS startup bootscript is <filename>/etc/rc.d/startup</filename>,
|
---|
| 33 | but BusyBox will look for <filename>/etc/init.d/rcS</filename> to use as its
|
---|
| 34 | startup script. To ensure BusyBox finds the startup script, create the
|
---|
| 35 | <filename>${CLFS}/etc/init.d</filename> directory and a symlink:</para>
|
---|
| 36 |
|
---|
| 37 | <screen><userinput>install -dv ${CLFS}/etc/init.d
|
---|
| 38 | ln -sv ../rc.d/startup ${CLFS}/etc/init.d/rcS</userinput></screen>
|
---|
| 39 |
|
---|
[a9e389d] | 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 id="contents-bootscripts" role="content">
|
---|
| 43 | <title>Contents of CLFS-Bootscripts</title>
|
---|
| 44 |
|
---|
| 45 | <segmentedlist>
|
---|
| 46 | <segtitle>Installed scripts</segtitle>
|
---|
| 47 |
|
---|
| 48 | <seglistitem>
|
---|
[86c5fd0] | 49 | <seg>bridge, functions, network, start, stop, and syslog.</seg>
|
---|
[a9e389d] | 50 | </seglistitem>
|
---|
| 51 | </segmentedlist>
|
---|
| 52 |
|
---|
| 53 | <variablelist>
|
---|
| 54 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 55 | <?dbfo list-presentation="list"?>
|
---|
| 56 | <?dbhtml list-presentation="table"?>
|
---|
| 57 |
|
---|
[86c5fd0] | 58 | <varlistentry id="bridge-bootscripts">
|
---|
| 59 | <term><command>bridge</command></term>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Sets up network bridging, if configured</para>
|
---|
| 62 | <indexterm zone="ch-scripts-bootscripts bridge-bootscripts">
|
---|
| 63 | <primary sortas="d-bridge">bridge</primary>
|
---|
| 64 | </indexterm>
|
---|
| 65 | </listitem>
|
---|
| 66 | </varlistentry>
|
---|
| 67 |
|
---|
[a9e389d] | 68 | <varlistentry id="functions-bootscripts">
|
---|
| 69 | <term><command>functions</command></term>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Contains common functions, such as error and status checking,
|
---|
| 72 | that are used by several bootscripts</para>
|
---|
| 73 | <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
|
---|
| 74 | <primary sortas="d-functions">functions</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="network-bootscripts">
|
---|
| 80 | <term><command>network</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Sets up network interfaces, such as network cards, and sets up
|
---|
| 83 | the default gateway (where applicable)</para>
|
---|
| 84 | <indexterm zone="ch-scripts-bootscripts network-bootscripts">
|
---|
| 85 | <primary sortas="d-network">network</primary>
|
---|
| 86 | </indexterm>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
[86c5fd0] | 90 | <varlistentry id="syslog-bootscripts">
|
---|
| 91 | <term><command>syslog</command></term>
|
---|
[a9e389d] | 92 | <listitem>
|
---|
[86c5fd0] | 93 | <para>Starts and stops the system log daemons</para>
|
---|
| 94 | <indexterm zone="ch-scripts-bootscripts syslog-bootscripts">
|
---|
| 95 | <primary sortas="d-syslog">syslog</primary>
|
---|
[a9e389d] | 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
| 100 | </variablelist>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | </sect1>
|
---|