[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 |
|
---|
| 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>
|
---|
[ebc4a9b] | 49 | <seg>functions, startup, shutdown, 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 |
|
---|
| 58 | <varlistentry id="functions-bootscripts">
|
---|
| 59 | <term><command>functions</command></term>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Contains common functions, such as error and status checking,
|
---|
| 62 | that are used by several bootscripts</para>
|
---|
| 63 | <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
|
---|
| 64 | <primary sortas="d-functions">functions</primary>
|
---|
| 65 | </indexterm>
|
---|
| 66 | </listitem>
|
---|
| 67 | </varlistentry>
|
---|
| 68 |
|
---|
[ebc4a9b] | 69 | <varlistentry id="startup-bootscripts">
|
---|
| 70 | <term><command>startup</command></term>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>Performs all startup script operations</para>
|
---|
| 73 | <indexterm zone="ch-scripts-bootscripts startup-bootscripts">
|
---|
| 74 | <primary sortas="d-startup">startup</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="shutdown-bootscripts">
|
---|
| 80 | <term><command>shutdown</command></term>
|
---|
[a9e389d] | 81 | <listitem>
|
---|
[ebc4a9b] | 82 | <para>Performs all shutdown operations</para>
|
---|
| 83 | <indexterm zone="ch-scripts-bootscripts shutdown-bootscripts">
|
---|
| 84 | <primary sortas="d-shutdown">shutdown</primary>
|
---|
[a9e389d] | 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
[86c5fd0] | 89 | <varlistentry id="syslog-bootscripts">
|
---|
| 90 | <term><command>syslog</command></term>
|
---|
[a9e389d] | 91 | <listitem>
|
---|
[86c5fd0] | 92 | <para>Starts and stops the system log daemons</para>
|
---|
| 93 | <indexterm zone="ch-scripts-bootscripts syslog-bootscripts">
|
---|
| 94 | <primary sortas="d-syslog">syslog</primary>
|
---|
[a9e389d] | 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | </variablelist>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | </sect1>
|
---|