[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, systemd, updated. clfs-2.0.0-797-g4eb7694

git git at cross-lfs.org
Thu Jan 23 12:50:11 PST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, systemd has been updated
       via  4eb7694cd974a008630e004763fc7b24de84cacb (commit)
      from  4c313f758e8b5c8e6c9cf832803711948dd587e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4eb7694cd974a008630e004763fc7b24de84cacb
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Thu Jan 23 14:51:22 2014 -0600

    Add a command for creating /etc/sysconfig/network-devices.

diff --git a/BOOK/network/common/dhcp.xml b/BOOK/network/common/dhcp.xml
index 3a1d56b..cf1c2b4 100644
--- a/BOOK/network/common/dhcp.xml
+++ b/BOOK/network/common/dhcp.xml
@@ -18,7 +18,8 @@
     configuration file using the following commands. Adjust appropriately for
     additional interfaces:</para>
 
-<screen><userinput>cd /etc/sysconfig/network-devices &&
+<screen><userinput>mkdir -pv /etc/sysconfig/network-devices &&
+cd /etc/sysconfig/network-devices &&
 cat > ifconfig.eth0 << "EOF"
 <literal>SERVICE="dhcpcd"
 
diff --git a/BOOK/network/common/static.xml b/BOOK/network/common/static.xml
index da5b3cc..480de42 100644
--- a/BOOK/network/common/static.xml
+++ b/BOOK/network/common/static.xml
@@ -35,7 +35,8 @@
     <para>The following command creates a sample <filename>ipv4</filename>
     file for the <emphasis>eth0</emphasis> device:</para>
 
-<screen><userinput>cd /etc/sysconfig/network-devices &&
+<screen><userinput>mkdir -pv /etc/sysconfig/network-devices &&
+cd /etc/sysconfig/network-devices &&
 cat > ifconfig.eth0 << "EOF"
 <literal>IFACE="eth0"
 SERVICE="ipv4-static"

-----------------------------------------------------------------------

Summary of changes:
 BOOK/network/common/dhcp.xml   |    3 ++-
 BOOK/network/common/static.xml |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list