aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-06-30 12:21:33 +0200
committerWarren Baker <warren@decoy.co.za>2011-06-30 12:21:33 +0200
commitd7807cc49fb9c3c28f417c929b19c65c56ec6cb8 (patch)
tree0d93cb2d328e9d76a15f452c46a4e3555f924d9f /config/open-vm-tools
parentcf2210bd3075c3c46e68b11bc0d1df10e3913516 (diff)
downloadpfsense-packages-d7807cc49fb9c3c28f417c929b19c65c56ec6cb8.tar.gz
pfsense-packages-d7807cc49fb9c3c28f417c929b19c65c56ec6cb8.tar.bz2
pfsense-packages-d7807cc49fb9c3c28f417c929b19c65c56ec6cb8.zip
Ensure new line is added.
Diffstat (limited to 'config/open-vm-tools')
-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
+?>