The march to lfs-bootscripts begins

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1906 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Tushar Teredesai 2004-03-21 19:27:22 +00:00
parent f53f1b3c05
commit b5ea349276
26 changed files with 126 additions and 1747 deletions

View File

@ -1,24 +1,9 @@
<!ENTITY appendices SYSTEM "appendices.xml">
<!-- Symlink appendix -->
<!ENTITY appendices-symlinks SYSTEM "symlinks/symlinks.xml">
<!ENTITY appendices-symlinks-rc0 SYSTEM "symlinks/rc0.xml">
<!ENTITY appendices-symlinks-rc1 SYSTEM "symlinks/rc1.xml">
<!ENTITY appendices-symlinks-rc2 SYSTEM "symlinks/rc2.xml">
<!ENTITY appendices-symlinks-rc3 SYSTEM "symlinks/rc3.xml">
<!ENTITY appendices-symlinks-rc4 SYSTEM "symlinks/rc4.xml">
<!ENTITY appendices-symlinks-rc5 SYSTEM "symlinks/rc5.xml">
<!ENTITY appendices-symlinks-rc6 SYSTEM "symlinks/rc6.xml">
<!-- Deprecated package appendix -->
<!ENTITY appendices-old SYSTEM "old/old.xml">
<!-- Generic instructions -->
<!ENTITY appendices-generic SYSTEM "generic/generic.xml">
<!-- Glossary -->
<!ENTITY glossary SYSTEM "glossary.xml">

View File

@ -1,8 +0,0 @@
<part id="appendices" xreflabel="Appendix">
<title>Appendices</title>
&appendices-symlinks;
&appendices-generic;
<!-- &appendices-old; -->
</part>

View File

@ -1,35 +0,0 @@
<appendix id="appendices-generic">
<?dbhtml filename="generic.html" dir="appendices"?>
<title>Installing in non-default locations</title>
<para>When you want to install a package to a location other than
<filename class='directory'>/</filename>, or <filename class='directory'>/usr</filename>, you are installing
outside the default environment settings on most machines. The following
examples should assist you in determining how to correct this situation.
The examples cover the complete range of settings that may need
updating, but they are not all needed in every situation.</para>
<itemizedlist>
<listitem><para>Expand the <envar>PATH</envar> to include
<filename class='directory'>$PREFIX/bin</filename>.</para></listitem>
<listitem><para>Expand the <envar>PATH</envar> for root to include
<filename class='directory'>$PREFIX/sbin</filename>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/lib</filename>
to <filename>/etc/ld.so.conf</filename> or expand
<envar>LD_LIBRARY_PATH</envar> to include it. Before using the latter option,
check out <ulink url="http://www.visi.com/~barr/ldpath.html"/>. If you
modify <filename>/etc/ld.so.conf</filename> remember to update
<filename>/etc/ld.so.cache</filename> by executing <command>ldconfig</command>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/man</filename>
to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/info</filename>
to <envar>INFOPATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/lib/pkgconfig</filename> to
<envar>PKG_CONFIG_PATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages
that depend on the package you installed.</para></listitem>
</itemizedlist>
</appendix>

View File

@ -1,230 +0,0 @@
<sect1>
<title>rc0.d</title>
<table frame="none">
<title>rc0.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K00</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Shut down Common Unix printing system: <xref linkend="cups"/></entry>
</row>
<row>
<entry>K00</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Shut down <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>K08</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Shut down Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>K10</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Shut down General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>K25</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Shut down Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Shut down MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Shut down PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Shut down Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Stop ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>K30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Shut down Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>K35</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Save volume settings: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>K40</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Stop system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K45</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Save random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>K46</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Stop NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>K47</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Unmount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Stop network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Stop network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Stops the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Stop Forwarding <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Stop Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Stop named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>K50</entry>
<entry>sendsignals</entry>
<entry><filename>../init.d/sendsignals</filename></entry>
<entry>Kill processes: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K59</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Unset firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>K60</entry>
<entry>mountfs</entry>
<entry><filename>../init.d/mountfs</filename></entry>
<entry>Unmount all file systems: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K70</entry>
<entry>swap</entry>
<entry><filename>../init.d/swap</filename></entry>
<entry>Turn off swap: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K80</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Shut down networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K90</entry>
<entry>localnet</entry>
<entry><filename>../init.d/localnet</filename></entry>
<entry>Remove loopback interface: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K99</entry>
<entry>halt</entry>
<entry><filename>../init.d/halt</filename></entry>
<entry>Shut down system: Part of <acronym>LFS</acronym> base.</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,183 +0,0 @@
<sect1>
<title>rc1.d</title>
<table frame="none">
<title>rc1.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K00</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Shut down Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>K00</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Shut down <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>K10</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Shut down General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>K25</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Shut down Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Shut down MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Shut down PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Shut down Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Stop ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>K30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Shut down Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>K35</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Save volume settings: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>K46</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Stop NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>K47</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Unmount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Stop network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Stop network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Stops the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Stop Forwarding <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Stop Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Stop named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>K59</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Unset firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>K80</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Shut down networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K90</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Shut down networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,197 +0,0 @@
<sect1>
<title>rc2.d</title>
<table frame="none">
<title>rc2.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>K10</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Shut down General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>K25</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Shut down Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Shut down MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Shut down PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Shut down Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Stop ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>K30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Shut down Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>K46</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Stop NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>K47</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Unmount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Stop network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Stop network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Stops the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Stop Forwarding <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Stop Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Stop named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>K59</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Unset firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>K90</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Shut down networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S10</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Start system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S25</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Restore random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Start up sound system: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Start Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Start the Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Start the <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,196 +0,0 @@
<sect1>
<title>rc3.d</title>
<table frame="none">
<title>rc3.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>S10</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Start system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S20</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Start networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S21</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Load firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Start named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Forwards <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>S23</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Load Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Starts the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Start network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Start network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>S25</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Restore random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>S26</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Start NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>S28</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Mount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>S30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Start Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Start Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Start ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Start MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Start PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>S35</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Start Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Start up sound system: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Start Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>S70</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Start the General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Start the Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Start the <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,196 +0,0 @@
<sect1>
<title>rc4.d</title>
<table frame="none">
<title>rc4.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>S10</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Start system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S20</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Start networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S21</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Load firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Start named services daemon (DNS): <xref linkend="bind"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Forwards <acronym>RPC</acronym> request: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>S23</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Load Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Starts the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Start network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Start network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>S25</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Restore random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>S26</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Start NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>S28</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Mount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>S30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Start Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Start Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Start ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Start MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Start PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>S35</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Start Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Start up sound system: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Start Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>S70</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Start the General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Start the Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Start the <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,197 +0,0 @@
<sect1>
<title>rc5.d</title>
<table frame="none">
<title>rc5.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>S10</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Start system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S20</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Start networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>S21</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Load firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Start named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>S22</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Forwards <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>S23</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Load Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Starts the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Start network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>S24</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Start network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>S25</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Restore random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>S26</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Start NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>S28</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Mount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>S30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Start Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Start Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>S32</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Start ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Start MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>S34</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Start PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>S35</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Start Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Start up sound system: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>S40</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Start Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>S70</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Start the General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>S95</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Start the GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Start the Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>S99</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Start the <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,231 +0,0 @@
<sect1>
<title>rc6.d</title>
<table frame="none">
<title>rc6.d symlinks</title>
<tgroup cols="4">
<colspec colnum="1" colwidth="1*" align="left"/>
<colspec colnum="2" colwidth="7*" align="left"/>
<colspec colnum="3" colwidth="21*" align="left"/>
<colspec colnum="4" colwidth="30*" align="left"/>
<tbody>
<row>
<entry><emphasis>Number</emphasis></entry>
<entry><emphasis>Title</emphasis></entry>
<entry><emphasis>Link</emphasis></entry>
<entry><emphasis>Explanation</emphasis></entry>
</row>
<row>
<entry>K00</entry>
<entry>cups</entry>
<entry><filename>../init.d/cups</filename></entry>
<entry>Shut down Common Unix printing system: <xref
linkend="cups"/></entry>
</row>
<row>
<entry>K00</entry>
<entry>lprng</entry>
<entry><filename>../init.d/lprng</filename></entry>
<entry>Shut down <acronym>LPR</acronym> print spooler: <xref linkend="LPRng"/></entry>
</row>
<row>
<entry>K05</entry>
<entry>gdm</entry>
<entry><filename>../init.d/gdm</filename></entry>
<entry>Shut down GNOME display manager Daemon: <xref linkend="gdm"/></entry>
</row>
<row>
<entry>K08</entry>
<entry>fcron</entry>
<entry><filename>../init.d/fcron</filename></entry>
<entry>Shut down Cron Daemon: <xref linkend="fcron"/></entry>
</row>
<row>
<entry>K10</entry>
<entry>gpm</entry>
<entry><filename>../init.d/gpm</filename></entry>
<entry>Shut down General Purpose Mouse Daemon: <xref linkend="gpm"/></entry>
</row>
<row>
<entry>K25</entry>
<entry>postfix</entry>
<entry><filename>../init.d/postfix</filename></entry>
<entry>Shut down Postfix <acronym>MTA</acronym>: <xref linkend="postfix"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>mysql</entry>
<entry><filename>../init.d/mysql</filename></entry>
<entry>Shut down MySQL Daemon: <xref linkend="mysql"/></entry>
</row>
<row>
<entry>K26</entry>
<entry>postgresql</entry>
<entry><filename>../init.d/postgresql</filename></entry>
<entry>Shut down PostgreSQL Daemon: <xref linkend="postgresql"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>apache</entry>
<entry><filename>../init.d/apache</filename></entry>
<entry>Shut down Apache Daemon: <xref linkend="apache"/></entry>
</row>
<row>
<entry>K28</entry>
<entry>proftpd</entry>
<entry><filename>../init.d/proftpd</filename></entry>
<entry>Stop ProFTPD daemon: <xref linkend="proftpd"/></entry>
</row>
<row>
<entry>K30</entry>
<entry>sshd</entry>
<entry><filename>../init.d/sshd</filename></entry>
<entry>Shut down Secure Shell Daemon: <xref linkend="openssh"/></entry>
</row>
<row>
<entry>K35</entry>
<entry>alsa</entry>
<entry><filename>../init.d/alsa</filename></entry>
<entry>Save volume settings: <xref linkend="alsa"/></entry>
</row>
<row>
<entry>K40</entry>
<entry>sysklogd</entry>
<entry><filename>../init.d/sysklogd</filename></entry>
<entry>Stop system and kernel logging: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K45</entry>
<entry>random</entry>
<entry><filename>../init.d/random</filename></entry>
<entry>Save random seed: <xref linkend="postlfs-config-random"/></entry>
</row>
<row>
<entry>K46</entry>
<entry>ntp</entry>
<entry><filename>../init.d/ntp</filename></entry>
<entry>Stop NTP daemon: <xref linkend="ntp"/></entry>
</row>
<row>
<entry>K47</entry>
<entry>netfs</entry>
<entry><filename>../init.d/netfs</filename></entry>
<entry>Unmount network filesystems: <xref linkend="postlfs-config-netfs"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>samba</entry>
<entry><filename>../init.d/samba</filename></entry>
<entry>Stop network file system: <xref linkend="samba"/></entry>
</row>
<row>
<entry>K48</entry>
<entry>NFS</entry>
<entry><filename>../init.d/nfs</filename></entry>
<entry>Stop network file system: <xref linkend="nfs-utils"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>adsl</entry>
<entry><filename>../init.d/adsl</filename></entry>
<entry>Stops the <acronym>ADSL</acronym> client: <xref linkend="pppoe"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>portmap</entry>
<entry><filename>../init.d/portmap</filename></entry>
<entry>Stop Forwarding <acronym>RPC</acronym> requests: <xref linkend="portmap"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>xinetd</entry>
<entry><filename>../init.d/xinetd</filename></entry>
<entry>Stop Internet services daemon: <xref linkend="xinetd"/></entry>
</row>
<row>
<entry>K49</entry>
<entry>bind</entry>
<entry><filename>../init.d/bind</filename></entry>
<entry>Stop named services daemon (<acronym>DNS</acronym>): <xref linkend="bind"/></entry>
</row>
<row>
<entry>K50</entry>
<entry>sendsignals</entry>
<entry><filename>../init.d/sendsignals</filename></entry>
<entry>Kill processes: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K59</entry>
<entry>firewall</entry>
<entry><filename>../init.d/firewall</filename></entry>
<entry>Unset firewall settings: <xref linkend="postlfs-security-fw-firewall"/></entry>
</row>
<row>
<entry>K60</entry>
<entry>mountfs</entry>
<entry><filename>../init.d/mountfs</filename></entry>
<entry>Unmount all file systems: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K70</entry>
<entry>swap</entry>
<entry><filename>../init.d/swap</filename></entry>
<entry>Turn off swap: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K80</entry>
<entry>network</entry>
<entry><filename>../init.d/network</filename></entry>
<entry>Shut down networking: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K90</entry>
<entry>localnet</entry>
<entry><filename>../init.d/localnet</filename></entry>
<entry>Remove loopback interface: Part of <acronym>LFS</acronym> base.</entry>
</row>
<row>
<entry>K99</entry>
<entry>reboot</entry>
<entry><filename>../init.d/halt</filename></entry>
<entry>Reboot system: Part of <acronym>LFS</acronym> base.</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>

View File

@ -1,26 +0,0 @@
<appendix role="dsssl" id="appendices-symlinks">
<?dbhtml filename="symlinks.html" dir="appendices"?>
<title>List of rc?.d symlinks used in <acronym>LFS</acronym>/<acronym>BLFS</acronym></title>
<para>This section lists all of the symlinks used by the lfs-bootscripts
package (correct as of version <userinput>1.9</userinput>) and all of
the scripts in the <acronym>BLFS</acronym> book. This is for two reasons:
first, so that you can see at a glance which number we have used for each
package, and second so that <emphasis>we</emphasis> can see which number we
have used for each package! Without this, it would make our lives more
difficult (as we'd probably end up with conflicts).</para>
<para>It should go without saying that this is <emphasis>not</emphasis>
the only (or some would argue even optimal) setup for the symlinks. In
the <acronym>LFS</acronym> tradition, you should find what suits <emphasis>you
</emphasis> and use that; our recommendations are only a template.</para>
&appendices-symlinks-rc0;
&appendices-symlinks-rc1;
&appendices-symlinks-rc2;
&appendices-symlinks-rc3;
&appendices-symlinks-rc4;
&appendices-symlinks-rc5;
&appendices-symlinks-rc6;
</appendix>

View File

@ -41,42 +41,28 @@ separately would be unwise, as mounting all volumes on a server
under one mount point uses only one client connection.</para>
<para>If you need to set up the <acronym>IPX</acronym> protocol at boot,
you can create the following scripts. These scripts assume <acronym>IPX</acronym>
will be set up on <emphasis role="strong">eth0</emphasis>
and the network frame type is 802.2. You should confirm that these
are the correct settings and adjust as necessary.</para>
you can install the
<filename>/etc/sysconfig/network-devices/services/ipx</filename>
network service script included with the
<xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifup-ipx0 &lt;&lt; "EOF"</command>
#!/bin/sh
# Begin /etc/sysconfig/network-devices/ifup-ipx0
<screen><userinput><command>make install-service-ipx</command></userinput></screen>
. /etc/sysconfig/rc || exit
. $rc_functions || exit
<para>Next install the configurations script,
<filename>ifconfig.ipx0</filename>. The configuration assumes
<acronym>IPX</acronym> will be set up on
<emphasis role="strong">eth0</emphasis>
and the network frame type is 802.2. You should confirm that these are
the correct settings and adjust as necessary.</para>
echo "Setting up the IPX protocol on eth0..."
/bin/ipx_interface add eth0 802.2 &amp;&amp;
/bin/ipx_configure --auto_interface=on --auto_primary=on
evaluate_retval
<para><emphasis>Note</emphasis>: This will overwrite any existing file.</para>
# End /etc/sysconfig/network-devices/ifup-ipx0
<command>EOF
cat &gt; /etc/sysconfig/network-devices/ifdown-ipx0 &lt;&lt; "EOF"</command>
#!/bin/sh
# Begin /etc/sysconfig/network-devices/ifdown-ipx0
. /etc/sysconfig/rc || exit
. $rc_functions || exit
echo "Stopping IPX on the eth0 interface..."
/bin/ipx_configure --auto_interface=off --auto_primary=off &amp;&amp;
/bin/ipx_interface del eth0 802.2
evaluate_retval
# End /etc/sysconfig/network-devices/ifdown-ipx0
<command>EOF
echo "ONBOOT=yes" &gt; /etc/sysconfig/network-devices/ifconfig.ipx0
chmod 755 /etc/sysconfig/network-devices/ifup-ipx0
chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</command></userinput></screen>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.ipx0 &lt;&lt; "EOF"</command>
ONBOOT=yes
SERVICE=ipx
IPXDEV=eth0
FRAME=802.2
<command>EOF</command></userinput></screen>
</sect3>

View File

@ -22,5 +22,6 @@
<!ENTITY hfile-root "http://downloads.linuxfromscratch.org/blfs-patches">
<!ENTITY hints-root "http://www.linuxfromscratch.org/hints">
<!ENTITY patch-root "http://www.linuxfromscratch.org/patches/blfs/&blfs-version;">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/lfs/view/&blfs-version;">
<!ENTITY nbsp " ">
<!ENTITY publisher "Unknown">

View File

@ -21,5 +21,4 @@
<!-- End parts -->
<!-- Appendices -->
&appendices;
&glossary;

View File

@ -1,101 +0,0 @@
<sect1 id="dhcpclient" xreflabel="Configuring the LFS bootscripts to support DHCP clients">
<?dbhtml filename="configdhcp.html" dir="connect"?>
<title>Configuring the <acronym>LFS</acronym> bootscripts to support <acronym>DHCP</acronym> clients</title>
<sect2><title>Config files</title>
<para><filename>/etc/sysconfig/network</filename>,
<filename>/etc/sysconfig/network-devices/ifup-eth0</filename>,
<filename>/etc/sysconfig/network-devices/ifdown-eth0</filename>,
<filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename></para>
</sect2>
<sect2><title>Configuration Information</title>
<para>Note that on this and the following pages, we
use <emphasis role="strong">eth0</emphasis> as the example interface.
If you want to configure a different (or more than one) interface, simply
replace <emphasis role="strong">eth0</emphasis> with the interface you wish to
use.</para>
<para>These instructions will convert the configuration files from
<acronym>LFS</acronym> (a static configuration) to a configuration using the
<acronym>DHCP</acronym> protocol. Note that static and
<acronym>DHCP</acronym>-based interfaces can co-exist on a
<acronym>LFS</acronym> system. To do this, you should only make the
alterations to those interfaces which need to support
<acronym>DHCP</acronym>. All of the instructions on this page are applicable
no matter which <acronym>DHCP</acronym> client you intend to use.</para>
<para>If the interface you intend to use as your default gateway is going to
use <acronym>DHCP</acronym>, the first step is to remove the <envar>GATEWAY
</envar> and <envar>GATEWAY_IF</envar> variables
from <filename>/etc/sysconfig/network</filename>. This will only need to be
done once.</para>
<screen><userinput><command>cd /etc/sysconfig &amp;&amp;
cp network network.bak &amp;&amp;
sed "s/GATEWAY/# GATEWAY/" network.bak > network</command></userinput></screen>
<para>You then need to create scripts which will override the default
network scripts and provide <acronym>DHCP</acronym> support. These two scripts
are generic and so for use with both <acronym>DHCP</acronym> clients. First,
the <filename>ifup-eth0</filename> script:</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifup-eth0 &lt;&lt; "EOF" </command>
#!/bin/sh
. /etc/sysconfig/rc || exit
. $rc_functions || exit
. $network_devices/ifconfig.eth0 || exit
echo "Bringing up the eth0 interface..."
modprobe eth0
loadproc $DHCP_PROG $DHCP_START
<command>EOF</command></userinput></screen>
<para>Then the <filename>ifdown-eth0</filename> script:</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifdown-eth0 &lt;&lt; "EOF" </command>
#!/bin/sh
. /etc/sysconfig/rc || exit
. $rc_functions || exit
. $network_devices/ifconfig.eth0 || exit
echo "Bringing down the eth0 interface..."
$DHCP_PROG $DHCP_STOP
evaluate_retval
<command>EOF</command></userinput></screen>
<para>Next, we need to make corrections to the
<filename>/etc/hosts</filename> file. Be sure to replace
<emphasis role="strong">HOSTNAME</emphasis> and
<emphasis role="strong">DOMAIN_NAME</emphasis> with apropriate values.</para>
<screen><userinput><command>mv -f /etc/hosts /etc/hosts.bak &amp;&amp;
cat &gt; /etc/hosts &lt;&lt; "EOF" </command>
# Begin /etc/hosts
127.0.0.1 HOSTNAME HOSTNAME.DOMAIN_NAME localhost localhost.localdomain
# End /etc/hosts
<command>EOF</command></userinput></screen>
<para>Finally, we need to make the scripts executable:</para>
<screen><userinput><command>chmod 755 /etc/sysconfig/network-devices/ifup-eth0 &amp;&amp;
chmod 755 /etc/sysconfig/network-devices/ifdown-eth0</command></userinput></screen>
<warning><para>This script, in its current state,
<emphasis>will</emphasis> cause an error at shutdown. At the moment, it
is best to just live with the error. The network scripts for
<acronym>LFS</acronym> and <acronym>BLFS</acronym> are currently being
revised. In the interim, you can use a simple workaround to rid yourself
of the error. Move your <filename>K80network</filename> stop scripts to
<filename>K49network</filename>. You must be absolutely certain,
however, that you have all network filesystems unmounted before this
script is executed.</para></warning>
</sect2>
</sect1>

View File

@ -15,28 +15,33 @@ case; if it isn't, don't run the server! Once you have installed the
package, return here for information on how to configure the client
(<command>dhclient</command>).</para>
<para>To configure <command>dhclient</command>, you need to create two files,
<filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename> and
<filename>/etc/dhclient.conf</filename>.</para>
<para>To configure <command>dhclient</command>, we need to first install
the network service script,
<filename>/etc/sysconfig/network-devices/services/dhclient</filename>
included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<para>First, create the <filename>ifconfig.eth0</filename>
file with the following commands (note that this will overwrite any
existing file):</para>
<screen><userinput><command>make install-service-dhclient</command></userinput></screen>
<screen><userinput><command>cd /etc/sysconfig/network-devices &amp;&amp;
cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</command>
<para>Next, create the <filename>ifconfig.eth0</filename>
file with the following commands. Adjust as necessary for additional
interfaces.</para>
<para><emphasis>Note</emphasis>: this will overwrite any existing file.</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</command>
ONBOOT=yes
DHCP_PROG=/sbin/dhclient
DHCP_START=&lt;appropriate start parameters&gt;
DHCP_STOP=-r
DHCP_START="&lt;place appropriate start parameters here&gt;"
DHCP_STOP="-r &lt;add additional stop parameters here&gt;"
SERVICE=dhclient
<command>EOF</command></userinput></screen>
<para>For more information on the appropriate
<envar>DHCP_START</envar> and <envar>DHCP_STOP</envar>
values, examine the man page for <command>dhclient</command>.</para>
<para>Next, you should then create
the <filename>/etc/dhclient.conf</filename> using the following command:</para>
<para>Finally, you should then create
the <filename>/etc/dhclient.conf</filename> using the following
commands. Append to the file if you have more than one interface:</para>
<screen><userinput><command>cat &gt; /etc/dhclient.conf &lt;&lt; "EOF"</command>
# dhclient.conf

View File

@ -11,14 +11,12 @@ will need a <acronym>DHCP</acronym> client in order to connect to it.
<para>We currently provide installation instructions for two
<acronym>DHCP</acronym> clients, <command>dhclient</command> (from the
<application>dhcp</application> package) and <command>dhcpcd</command>. We
begin with a page which shows how to alter the <acronym>LFS</acronym>
boot scripts for generic <acronym>DHCP</acronym> support. We then present the
two sets of installation instructions which also discuss
how to create an appropriate configuration file to work with the
<acronym>DHCP</acronym> client of your choice.</para>
<application>dhcp</application> package) and <command>dhcpcd</command>.
We present both sets of installation instructions which also discuss how
to create an appropriate service script to work with the
<command>network</command> bootscript and the <acronym>DHCP</acronym>
client of your choice.</para>
&connect-dhcp-bootscripts;
&connect-dhcp-client;
&dhcpcd;

View File

@ -6,16 +6,24 @@
<sect3><title>Configuration Information</title>
<para>To configure <command>dhcpcd</command>, create the <filename>
ifconfig.eth0</filename> file with the following commands (note that this
will overwrite any existing file):</para>
<para>To configure <command>dhcpcd</command>, we need to first install
the network service script,
<filename>/etc/sysconfig/network-devices/services/dhcpcd</filename>
included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>cd /etc/sysconfig/network-devices &amp;&amp;
cat &gt; ifconfig.eth0 &lt;&lt; "EOF"</command>
<screen><userinput><command>make install-service-dhcpcd</command></userinput></screen>
<para>Now create the <filename>ifconfig.eth0</filename> configuration
file using the following commands. Adjust appropriatly for additional
interfaces.</para>
<para><emphasis>Note:</emphasis> This will overwrite any existing file.</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</command>
ONBOOT=yes
DHCP_PROG=/sbin/dhcpcd
DHCP_START=&lt;appropriate start parameters&gt;
DHCP_STOP=-k
DHCP_START="&lt;insert appropriate start options here&gt;"
DHCP_STOP="-k &lt;insert other stop options here&gt;"
SERVICE=dhcpcd
<command>EOF</command></userinput></screen>
<para>For more information on the appropriate

View File

@ -25,66 +25,25 @@ connection for you. You can, of course, choose not to install the
following script, and start your connection manually with the
<command>adsl-start</command> script.</para>
<para>Use the following commands to create the
<emphasis>optional</emphasis> <filename>adsl</filename> bootscript:</para>
<para><emphasis>Optionaly</emphasis> install the
<filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
script included with the <xref linkend="intro-important-bootscripts"/>
package.</para>
<screen><userinput><command>cat &gt; /etc/rc.d/init.d/adsl &lt;&lt; "EOF"</command>
#!/bin/sh
# Begin $rc_base/init.d/adsl
<screen><userinput><command>make install-service-pppoe</command></userinput></screen>
# Based on sysklogd script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
# adsl script written by DJ Lucas - dj@lucasit.com
<para>Now create the config file for use with the <filename>pppoe</filename>
service script:</para>
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
echo "Bringing up the ADSL interface..."
/usr/sbin/adsl-start
evaluate_retval
;;
stop)
echo "Bringing down the ADSL interface..."
/usr/sbin/adsl-stop
evaluate_retval
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
/usr/sbin/adsl-status
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/adsl
<command>EOF
chmod 755 /etc/rc.d/init.d/adsl</command></userinput></screen>
<para>Now create the necessary symlinks:</para>
<screen><userinput><command>ln -sf ../init.d/adsl /etc/rc.d/rc0.d/K49adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc1.d/K49adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc2.d/K49adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc3.d/S24adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc4.d/S24adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc5.d/S24adsl &amp;&amp;
ln -sf ../init.d/adsl /etc/rc.d/rc6.d/K49adsl</command></userinput></screen>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.pppoe &lt;&lt; "EOF"</command>
ONBOOT=yes
SERVICE=pppoe
<command>EOF</command></userinput></screen>
<para>Also, If you had previously configured the network interface that will now
use <acronym>PPPoE</acronym>, you should remove the interface configuration
files for that interface:
<filename>/etc/sysconfig/network-devices/if{up,down,config}-ehtx
<filename>/etc/sysconfig/network-devices/ifconfig.eth&lt;X&gt;
</filename>.</para>
</sect3>

View File

@ -8,9 +8,35 @@ book and the <acronym>BLFS</acronym> book will give you the background needed
to compile, install and configure packages that are not included in this book.
</para>
<para>If you are installing a package in a non-standard prefix, <xref
linkend="appendices-generic"/> checklist will be helpful if the
package does not work as expected.</para>
<para>When you want to install a package to a location other than
<filename class='directory'>/</filename>, or <filename class='directory'>/usr</filename>, you are installing
outside the default environment settings on most machines. The following
examples should assist you in determining how to correct this situation.
The examples cover the complete range of settings that may need
updating, but they are not all needed in every situation.</para>
<itemizedlist>
<listitem><para>Expand the <envar>PATH</envar> to include
<filename class='directory'>$PREFIX/bin</filename>.</para></listitem>
<listitem><para>Expand the <envar>PATH</envar> for root to include
<filename class='directory'>$PREFIX/sbin</filename>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/lib</filename>
to <filename>/etc/ld.so.conf</filename> or expand
<envar>LD_LIBRARY_PATH</envar> to include it. Before using the latter option,
check out <ulink url="http://www.visi.com/~barr/ldpath.html"/>. If you
modify <filename>/etc/ld.so.conf</filename> remember to update
<filename>/etc/ld.so.cache</filename> by executing <command>ldconfig</command>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/man</filename>
to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/info</filename>
to <envar>INFOPATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/lib/pkgconfig</filename> to
<envar>PKG_CONFIG_PATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages
that depend on the package you installed.</para></listitem>
</itemizedlist>
<para>If you are in search of a package that is not in the book, the following
are different ways you can search for the concerned package.</para>

View File

@ -1,14 +1,21 @@
<sect1 id="intro-important-bootscripts">
<sect1 id="intro-important-bootscripts" xreflabel="lfs-bootscripts">
<?dbhtml filename="bootscripts.html" dir="introduction"?>
<title>Using <acronym>BLFS</acronym> Boot Scripts</title>
<title><acronym>LFS</acronym> Boot Scripts</title>
<para>The scripts included for packages such as <xref linkend="gpm"/>
and <xref linkend="alsa"/> are based around the template supplied with
the lfs-bootscripts package from version 3.2 and later of the <acronym>
LFS</acronym> book. Note that this is lfs-bootscripts-1.6 and later (the old
numbering changed as of <acronym>LFS</acronym>-3.2). The scripts won't work
with versions of <acronym>LFS</acronym> before 3.2 because of a change in their
organization with the new scripts. However, it should be trivial to adapt the
scripts if needed for older <acronym>LFS</acronym> versions.</para>
<para>The lfs-bootscripts package that was used in <acronym>LFS</acronym> also
contains bootscripts for <acronym>BLFS</acronym>.
The lfs-bootscripts package will be used throughout the rest of
the book for startup scripts. It is recomended you keep the package
source directory around until completion of your
<acronym>BLFS</acronym> system. When a script is requested from
lfs-bootscritps, simply change to the directory and execute the given
'make install-&lt;init-script&gt;' command.</para>
<para>If you are installing <acronym>BLFS</acronym>
from an older version of LFS, see the INSTALL included in the package for
upgrade instructions.</para>
<para>Refer to <ulink url="&lfs-root;/chapter07/bootscripts.html"/> for more
information on the lfs-bootscripts package.</para>
</sect1>

View File

@ -96,7 +96,7 @@ it is installed in <filename>/usr/pkg/foo-1.2</filename> and the previous
symlink is replaced by a symlink to the new vesion.</para>
<para>The environment variables such as those
mentioned in <xref linkend="appendices-generic"/> need to be expanded to
mentioned in <xref linkend="intro-important-beyond"/> need to be expanded to
include <filename>/usr/pkg/foo</filename>. For more than a few packages,
this scheme becomes unmanagable.</para>

View File

@ -39,7 +39,7 @@ prior to asking.</para></listitem>
/opt/&lt;package&gt;</filename>. The main objection to this centers around the
need to expand your environment variables for each package placed there (e.g.
PATH=$PATH:/opt/kde/bin). In some cases, the package will walk you
through the changes, but some will not. <xref linkend="appendices-generic"/>
through the changes, but some will not. <xref linkend="intro-important-beyond"/>
is available to help you check.</para></listitem>
</itemizedlist></sect2>

View File

@ -255,6 +255,10 @@ awareness.</para></listitem>
<listitem><para><emphasis>Ian Chilton</emphasis> for writing the nfs hint.</para></listitem>
<listitem><para><emphasis>Nathan Coulson</emphasis>, <emphasis>DJ Lucas</emphasis>
and <emphasis>Zack Winkles</emphasis> for reworking the bootscripts used throughout
the book.</para></listitem>
</itemizedlist>
</sect2>

View File

@ -68,9 +68,6 @@ place for them.</para>
linkend="pst"/>. This is useful for most people with desktop systems and
even those who are creating mainly server systems will find it useful.</para>
<para>Finally, the <xref linkend="appendices"/> contain various pieces of
useful information which you may need to use as a reference.</para>
<para>We hope you enjoy using <acronym>BLFS</acronym> and find it useful.</para>
</sect1>

View File

@ -10,5 +10,9 @@ used to create a range of diverse systems and so the target audience is
probably nearly as wide as that of the <acronym>LFS</acronym> book. If you
found <acronym>LFS</acronym> useful, you should also like this!</para>
<para>Since Release 5.0, the <acronym>BLFS</acronym> book version matches
the <acronym>LFS</acronym> book version. This book may be incompatible with
a previous or latter release of the <acronym>LFS</acronym> book.</para>
</sect1>