aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter07/chapter07.xml1
-rw-r--r--chapter07/network-scripts.xml104
3 files changed, 109 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ffb04d89c..f7bcce78e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,10 @@
<para>2013-12-21</para>
<itemizedlist>
<listitem>
+ <para>[krejzi] - Added LFS-Network-Script page. Fixes
+ <ulink url="&lfs-ticket-root;3350">#3350</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[krejzi] - Update Systemd instructions and contents
for latest version of Systemd.</para>
</listitem>
diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml
index cacc50c56..55ed7098a 100644
--- a/chapter07/chapter07.xml
+++ b/chapter07/chapter07.xml
@@ -12,6 +12,7 @@
<title>Setting Up System Bootscripts</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hosts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="udev.xml"/>
diff --git a/chapter07/network-scripts.xml b/chapter07/network-scripts.xml
new file mode 100644
index 000000000..0bad2a0bb
--- /dev/null
+++ b/chapter07/network-scripts.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../general.ent">
+ %general-entities;
+]>
+
+<sect1 id="ch-scripts-network-scripts" role="wrap">
+ <?dbhtml filename="network-scripts.html"?>
+
+ <sect1info condition="script">
+ <productname>lfs-network-scripts</productname>
+ <productnumber>&lfs-network-scripts-version;</productnumber>
+ <address>&lfs-network-scripts-url;</address>
+ </sect1info>
+
+ <title>LFS-Network-Scripts-&lfs-network-scripts-version;</title>
+
+ <indexterm zone="ch-scripts-network-scripts">
+ <primary sortas="a-Network-Scripts">Network-Scripts</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title/>
+
+ <para>The LFS-Network-Scripts package contains a set of scripts to configure the
+ network at bootup and deconfigure it at shutdown.</para>
+
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
+
+ <seglistitem>
+ <seg>&lfs-network-scripts-ch7-sbu;</seg>
+ <seg>&lfs-network-scripts-ch7-du;</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of LFS-Network-Scripts</title>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make install</userinput></screen>
+
+ </sect2>
+
+ <sect2 id="contents-network-scripts" role="content">
+ <title>Contents of LFS-Network-Scripts</title>
+ <segmentedlist>
+ <segtitle>Installed scripts</segtitle>
+ <segtitle>Installed systemd units</segtitle>
+ <segtitle>Installed directories</segtitle>
+
+ <seglistitem>
+ <seg>ifdown, ifup, ipv4-static</seg>
+ <seg>ifupdown@.service, nscd.service</seg>
+ <seg>/etc/sysconfig, /lib/services, /lib/lsb (symbolic link)</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="ifdown-network-scripts">
+ <term><command>ifdown</command></term>
+ <listitem>
+ <para>Stops a network device.</para>
+ <indexterm zone="ch-scripts-network-scripts ifdown-network-scripts">
+ <primary sortas="d-ifdown">ifdown</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="ifup-network-scripts">
+ <term><command>ifup</command></term>
+ <listitem>
+ <para>Initializes a network device.</para>
+ <indexterm zone="ch-scripts-network-scripts ifup-network-scripts">
+ <primary sortas="d-ifup">ifup</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="ipv4-static-network-scripts">
+ <term><command>ipv4-static</command></term>
+ <listitem>
+ <para>Provides the functionality needed to assign a static Internet
+ Protocol (IP) address to a network interface.</para>
+ <indexterm zone="ch-scripts-network-scripts ipv4-static-network-scripts">
+ <primary sortas="d-ipv4-static">ipv4-static</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
+</sect1>