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

Last change on this file since c5d3ce0 was ebc4a9b, checked in by Andrew Bradford <andrew@…>, 11 years ago

bootscripts: Correct contents and descriptions

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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 <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
36 <para>Install the package:</para>
37
38<screen><userinput>make DESTDIR=${CLFS}/targetfs install-bootscripts</userinput></screen>
39
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
43 <filename>${CLFS}/targetfs/etc/init.d</filename> directory and a symlink:</para>
44
45<screen><userinput>install -dv ${CLFS}/targetfs/etc/init.d
46ln -sv ../rc.d/startup ${CLFS}/targetfs/etc/init.d/rcS</userinput></screen>
47
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>
57 <seg>functions, startup, shutdown, and syslog.</seg>
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
66 <varlistentry id="functions-bootscripts">
67 <term><command>functions</command></term>
68 <listitem>
69 <para>Contains common functions, such as error and status checking,
70 that are used by several bootscripts</para>
71 <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
72 <primary sortas="d-functions">functions</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry id="startup-bootscripts">
78 <term><command>startup</command></term>
79 <listitem>
80 <para>Performs all startup script operations</para>
81 <indexterm zone="ch-scripts-bootscripts startup-bootscripts">
82 <primary sortas="d-startup">startup</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="shutdown-bootscripts">
88 <term><command>shutdown</command></term>
89 <listitem>
90 <para>Performs all shutdown operations</para>
91 <indexterm zone="ch-scripts-bootscripts shutdown-bootscripts">
92 <primary sortas="d-shutdown">shutdown</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="syslog-bootscripts">
98 <term><command>syslog</command></term>
99 <listitem>
100 <para>Starts and stops the system log daemons</para>
101 <indexterm zone="ch-scripts-bootscripts syslog-bootscripts">
102 <primary sortas="d-syslog">syslog</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 </variablelist>
108
109 </sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.