[PATCH 04/12] Set the VSCHILD class if we detect running in VIRTUAL mode
Sam Vilain
sam at vilain.net
Mon May 1 05:47:16 CEST 2006
Update the examples to set the VSCHILD class depending on the detected
VIRTUAL setting.
---
=== examples/simple/class/10-base-classes
==================================================================
--- examples/simple/class/10-base-classes (revision 8124)
+++ examples/simple/class/10-base-classes (revision 8125)
@@ -5,4 +5,8 @@
[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr a-z A-Z
[ -f /boot/RUNNING_FROM_FAICD ] && echo "FAICD"
-exit 0
\ No newline at end of file
+
+[ -n "$VIRTUAL" ] && echo "VSCHILD"
+
+exit 0
+
More information about the linux-fai
mailing list