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

Last change on this file since 1b109e6 was c62f4d4, checked in by Andrew Bradford <bradfa@…>, 14 years ago

Link etc/init.d/rcS to etc/rc.d/startup for BusyBox

BusyBox wanst the startup script to be located at /etc/init.d/rcS.
Our startup scripts store everything in /etc/rc.d and our
startup script is "startup". Symlink created so BusyBox can find
the startup script.

This may change at a later date if startup scripts get renamed to be more
BusyBox friendly.

  • Property mode set to 100644
File size: 3.4 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 <para>Install the package:</para>
29
30<screen><userinput>make DESTDIR=${CLFS} install-bootscripts</userinput></screen>
31
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
38ln -sv ../rc.d/startup ${CLFS}/etc/init.d/rcS</userinput></screen>
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>
49 <seg>bridge, functions, network, start, stop, and syslog.</seg>
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="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
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
90 <varlistentry id="syslog-bootscripts">
91 <term><command>syslog</command></term>
92 <listitem>
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>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 </variablelist>
101
102 </sect2>
103
104</sect1>
Note: See TracBrowser for help on using the repository browser.