aboutsummaryrefslogtreecommitdiffstats
path: root/config/open-vm-tools_2/open-vm-tools.inc
diff options
context:
space:
mode:
authorMartin <martin.fuchs@trendchiller.com>2011-04-21 08:59:40 +0200
committerMartin <martin.fuchs@trendchiller.com>2011-04-21 08:59:40 +0200
commite6debb6d8640267ee85dae38823241c882f39f26 (patch)
tree8bb56be1b929149de432fe64c0bef9c63c747929 /config/open-vm-tools_2/open-vm-tools.inc
parentc7f3a9ca141386bacd285278fbda9ca087380d5c (diff)
downloadpfsense-packages-e6debb6d8640267ee85dae38823241c882f39f26.tar.gz
pfsense-packages-e6debb6d8640267ee85dae38823241c882f39f26.tar.bz2
pfsense-packages-e6debb6d8640267ee85dae38823241c882f39f26.zip
fix Bug #1423
Diffstat (limited to 'config/open-vm-tools_2/open-vm-tools.inc')
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index 74adec26..80c464f7 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/open-vm-tools.inc
@@ -10,12 +10,12 @@ function open_vm_tools_install() {
touch("/boot/loader.conf");
$load_conf = file_get_contents("/boot/loader.conf");
if(!strstr("vmxnet")) {
- $load_conf .= <<<EOFA
+ $load_conf .= <<<EOF
vmblock_load="YES"
vmmemct_load="YES"
vmhgfs_load="YES"
vmxnet_load="YES"
-EOFA;
+EOF;
file_put_contents("/boot/loader.conf", $load_conf);
}