aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/open-vm-tools/open-vm-tools.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc
index 679eec62..f963d9b7 100644
--- a/config/open-vm-tools/open-vm-tools.inc
+++ b/config/open-vm-tools/open-vm-tools.inc
@@ -8,7 +8,7 @@ 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");
+ $load_conf = file_get_contents("/boot/loader.conf") . "\n";
if(!strstr($load_conf, "vmxnet")) {
$load_conf .= <<<EOFA
vmblock_load="YES"
@@ -168,4 +168,4 @@ EOF;
}
-?> \ No newline at end of file
+?>