[PATCH 05/12] Disable hardware detection for VSCHILD hosts

Sam Vilain sam at vilain.net
Mon May 1 05:47:17 CEST 2006


This entire script makes little sense in a virtual setting.  Disable.

---
=== examples/simple/class/20-hwdetect.source
==================================================================
--- examples/simple/class/20-hwdetect.source	(revision 8125)
+++ examples/simple/class/20-hwdetect.source	(revision 8126)
@@ -5,6 +5,8 @@
 # NOTE: Files named *.source will be evaluated, but their output ignored and instead 
 # the contents of $newclasses will be added to the list of defined classes.
 
+ifclass VSCHILD && return
+
 echo 0 > /proc/sys/kernel/printk
 
 # load all IDE drivers



More information about the linux-fai mailing list