aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-09-29 16:23:20 -0400
committerjim-p <jimp@pfsense.org>2011-09-29 16:23:20 -0400
commitbf6f1542ec79dcf5e363732f9c902b6bbd4b5535 (patch)
tree981e00b02ba49ffdaff58d62f95c34ec9180cc85 /config
parent053744f58c69b71f6d2cce08b29173106a2e46ac (diff)
downloadpfsense-packages-bf6f1542ec79dcf5e363732f9c902b6bbd4b5535.tar.gz
pfsense-packages-bf6f1542ec79dcf5e363732f9c902b6bbd4b5535.tar.bz2
pfsense-packages-bf6f1542ec79dcf5e363732f9c902b6bbd4b5535.zip
Ensure a newline comes before the options placed into loader.conf
Diffstat (limited to 'config')
-rw-r--r--config/open-vm-tools/open-vm-tools.inc1
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc3
2 files changed, 3 insertions, 1 deletions
diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc
index f963d9b7..5db7de3f 100644
--- a/config/open-vm-tools/open-vm-tools.inc
+++ b/config/open-vm-tools/open-vm-tools.inc
@@ -11,6 +11,7 @@ function open_vm_tools_install() {
$load_conf = file_get_contents("/boot/loader.conf") . "\n";
if(!strstr($load_conf, "vmxnet")) {
$load_conf .= <<<EOFA
+
vmblock_load="YES"
vmmemct_load="YES"
vmhgfs_load="YES"
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index 679eec62..742eaee9 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/open-vm-tools.inc
@@ -11,6 +11,7 @@ function open_vm_tools_install() {
$load_conf = file_get_contents("/boot/loader.conf");
if(!strstr($load_conf, "vmxnet")) {
$load_conf .= <<<EOFA
+
vmblock_load="YES"
vmmemct_load="YES"
vmhgfs_load="YES"
@@ -168,4 +169,4 @@ EOF;
}
-?> \ No newline at end of file
+?>