From 029ff16bf6c03e6dd2e862d8f96c63ac92bc0b79 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Tue, 8 Jul 2008 09:08:06 +0000
Subject: [PATCH] Added depmod call to docs.

---
 INSTALL                        |  1 +
 documentation/ethercat_doc.tex | 13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/INSTALL b/INSTALL
index f040a093..73aa12e6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -24,6 +24,7 @@ $ make modules
 
 # make install
 # make modules_install
+# depmod
 
 ...and linking the init script and copying the sysconfig file from $PREFIX/etc
 to the appropriate locations and customizing the sysconfig file.
diff --git a/documentation/ethercat_doc.tex b/documentation/ethercat_doc.tex
index 5eeeed83..d7853f1f 100644
--- a/documentation/ethercat_doc.tex
+++ b/documentation/ethercat_doc.tex
@@ -3102,14 +3102,17 @@ To view them, point your browser to \textit{doxygen-output/html/index.html}.
 
 \section{Installation}
 
-The below commands have to be entered as \textit{root}: The first one
-will install the kernel modules to the kernel's modules directory. The
-second one will install EtherCAT headers, the init script, the
-sysconfig file and the user space tools to the prefix path.
+The below commands have to be entered as \textit{root}: The first one will
+install the EtherCAT header, init script, sysconfig file and the user space
+tools to the prefix path. The second one will install the kernel modules to the
+kernel's modules directory. The following \lstinline+depmod+ call is necessary
+to include the kernel modules into the \textit{modules.dep} file to make it
+available to the \lstinline+modprobe+ command, used in the init script. 
 
 \begin{lstlisting}
-# `\textbf{make modules\_install}`
 # `\textbf{make install}`
+# `\textbf{make modules\_install}`
+# `\textbf{depmod}`
 \end{lstlisting}
 
 If the target kernel's modules directory is not under \textit{/lib/modules}, a
-- 
GitLab