[lfs-book] r10407 - in branches/systemd/BOOK: chapter01 chapter07

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Sat Dec 21 12:05:07 PST 2013


Author: krejzi
Date: Sat Dec 21 12:05:07 2013
New Revision: 10407

Log:
Add lfs-network-scripts page.

Added:
   branches/systemd/BOOK/chapter07/network-scripts.xml   (contents, props changed)
Modified:
   branches/systemd/BOOK/chapter01/changelog.xml
   branches/systemd/BOOK/chapter07/chapter07.xml

Modified: branches/systemd/BOOK/chapter01/changelog.xml
==============================================================================
--- branches/systemd/BOOK/chapter01/changelog.xml	Sat Dec 21 12:02:39 2013	(r10406)
+++ branches/systemd/BOOK/chapter01/changelog.xml	Sat Dec 21 12:05:07 2013	(r10407)
@@ -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>

Modified: branches/systemd/BOOK/chapter07/chapter07.xml
==============================================================================
--- branches/systemd/BOOK/chapter07/chapter07.xml	Sat Dec 21 12:02:39 2013	(r10406)
+++ branches/systemd/BOOK/chapter07/chapter07.xml	Sat Dec 21 12:05:07 2013	(r10407)
@@ -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"/>

Added: branches/systemd/BOOK/chapter07/network-scripts.xml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/systemd/BOOK/chapter07/network-scripts.xml	Sat Dec 21 12:05:07 2013	(r10407)
@@ -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 at .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>



More information about the lfs-book mailing list