[Pkg-virtualbox-commits] r116 - trunk/debian

meskes at alioth.debian.org meskes at alioth.debian.org
Sun Nov 18 12:32:47 UTC 2007


Author: meskes
Date: 2007-11-18 12:32:46 +0000 (Sun, 18 Nov 2007)
New Revision: 116

Modified:
   trunk/debian/changelog
   trunk/debian/virtualbox-ose-guest-utils.init
Log:
Do not start guest utils if not inside a vm.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-11-18 11:34:59 UTC (rev 115)
+++ trunk/debian/changelog	2007-11-18 12:32:46 UTC (rev 116)
@@ -8,6 +8,7 @@
   * Call "invoke-rc.d udev reload" conditionally in modules postinst.
   * Do not call modprobe in postinst script, closes: #451743, #451742
   * Made grep command in vboxnet.sh be quiet, closes: #451741
+  * Do not start guest utils if not inside the vm.
 
  -- Michael Meskes <meskes at debian.org>  Thu, 15 Nov 2007 11:35:04 +0100
 

Modified: trunk/debian/virtualbox-ose-guest-utils.init
===================================================================
--- trunk/debian/virtualbox-ose-guest-utils.init	2007-11-18 11:34:59 UTC (rev 115)
+++ trunk/debian/virtualbox-ose-guest-utils.init	2007-11-18 12:32:46 UTC (rev 116)
@@ -16,6 +16,8 @@
 
 set -e
 
+(lspci|grep -q 80ee:beef) || exit 0 # not inside a vm
+
 case "$1" in
   start)
   	log_action_begin_msg 'Starting VirtualBox Additions';




More information about the Pkg-virtualbox-commits mailing list