From e92f48b46ba6f03e837a2110864b9639886d930e Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 15 Jan 2002 22:02:24 +0000 Subject: added /etc/sysconfig/rc update (include network_devices variable) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1449 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/network.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter07') diff --git a/chapter07/network.xml b/chapter07/network.xml index 7aa48a67a..be675ace3 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -36,6 +36,14 @@ network interface name (such as eth0 or eth0:1) mkdir /etc/sysconfig/network-devices +We also need to add this directory path to the /etc/sysconfig/rc file +so that other scripts (like ifup and ifdown) know where this directory is +located. + +Update the /etc/sysconfig/rc file by running: + +echo "network_devices=/etc/sysconfig/network-devices" >> /etc/sysconfig/rc + Now, new files are created in that directory containing the following. The following command creates a sample ifconfig.eth0 file: -- cgit v1.2.3-54-g00ecf