From 4d8827d39497ba562dab103e6c9cc886014719c2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 13 May 2011 23:53:33 -0400 Subject: Add back vmxnet driver that was accidentaly backed out. --- config/open-vm-tools/open-vm-tools.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config/open-vm-tools') diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc index f1dc17fb..6721254a 100644 --- a/config/open-vm-tools/open-vm-tools.inc +++ b/config/open-vm-tools/open-vm-tools.inc @@ -5,6 +5,18 @@ function open_vm_tools_deinstall() { } function open_vm_tools_install() { + exec("/bin/cp /usr/local/lib/vmware-tools/modules/drivers/*.ko /boot/kernel/"); + if(!file_exists("/boot/loader.conf")) + touch("/boot/loader.conf"); + $load_conf = file_get_contents("/boot/loader.conf"); + if(!strstr("vmxnet")) { + $load_conf .= <<