aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools/open-vm-tools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/open-vm-tools/open-vm-tools.inc')
-rw-r--r--config/open-vm-tools/open-vm-tools.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc
index 6721254a..43dee516 100644
--- a/config/open-vm-tools/open-vm-tools.inc
+++ b/config/open-vm-tools/open-vm-tools.inc
@@ -9,7 +9,7 @@ function open_vm_tools_install() {
if(!file_exists("/boot/loader.conf"))
touch("/boot/loader.conf");
$load_conf = file_get_contents("/boot/loader.conf");
- if(!strstr("vmxnet")) {
+ if(!strstr($load_conf, "vmxnet")) {
$load_conf .= <<<EOFA
vmblock_load="YES"
vmmemct_load="YES"