diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-05-15 18:20:41 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-05-15 18:20:41 -0400 |
commit | 02551d6fa8d84dde0320dc3839f525ae03db32a5 (patch) | |
tree | 8ad314ee6bb090ddb7f37a811406fd8248ecb676 /config/open-vm-tools/open-vm-tools.inc | |
parent | 47fa9c9f669e140ab529686a0066426e51b2493f (diff) | |
download | pfsense-packages-02551d6fa8d84dde0320dc3839f525ae03db32a5.tar.gz pfsense-packages-02551d6fa8d84dde0320dc3839f525ae03db32a5.tar.bz2 pfsense-packages-02551d6fa8d84dde0320dc3839f525ae03db32a5.zip |
Fix misc errors
Diffstat (limited to 'config/open-vm-tools/open-vm-tools.inc')
-rw-r--r-- | config/open-vm-tools/open-vm-tools.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc index 43dee516..679eec62 100644 --- a/config/open-vm-tools/open-vm-tools.inc +++ b/config/open-vm-tools/open-vm-tools.inc @@ -10,13 +10,16 @@ function open_vm_tools_install() { touch("/boot/loader.conf"); $load_conf = file_get_contents("/boot/loader.conf"); if(!strstr($load_conf, "vmxnet")) { - $load_conf .= <<<EOFA + $load_conf .= <<<EOFA vmblock_load="YES" vmmemct_load="YES" vmhgfs_load="YES" vmxnet_load="YES" + EOFA; + file_put_contents("/boot/loader.conf", $load_conf); +} $vmware_guestd = <<<EOF #!/bin/sh |