[PATCH 6/6] doc: document alternatives pre-run hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Keegan McAllister <keegan@xxxxxxxxxxx>
---
 doc/depmod.alternatives.sgml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/doc/depmod.alternatives.sgml b/doc/depmod.alternatives.sgml
index 98ec571..3e8704e 100644
--- a/doc/depmod.alternatives.sgml
+++ b/doc/depmod.alternatives.sgml
@@ -78,6 +78,21 @@
           </para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term>pre-run <replaceable>command with arguments ...</replaceable>
+        </term>
+	<listitem>
+	  <para>
+            Optional. <command>depmod</command> will run this command before
+            processing this alternative.
+          </para>
+          <para>
+            If the command terminates with a non-zero exit code,
+            <command>depmod</command> will skip processing for this
+            alternative.
+          </para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux