summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc')
-rw-r--r--remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc24
1 files changed, 23 insertions, 1 deletions
diff --git a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc
index e664f02f..f1395369 100644
--- a/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc
+++ b/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/write_final_vmx.inc
@@ -107,7 +107,29 @@ isolation.tools.copy.enable = "TRUE"
isolation.tools.paste.enabled = "TRUE"
HEREEND
-# Serial, parallel: Empty, nothing is being currently set. TODO later.
+# Serial port
+if [ -n "$serial_0" ]; then
+ cat >> "${TMPCONFIG}" <<-HEREEND
+ serial0.present = "TRUE"
+ serial0.startConnected = "TRUE"
+ serial0.fileType = "device"
+ serial0.fileName = "$serial_0"
+ serial0.tryNoRxLoss = "FALSE"
+ serial0.autodetect = "FALSE"
+ HEREEND
+fi
+
+# Parallel port
+if [ -n "$parallel_0" ]; then
+ cat >> "${TMPCONFIG}" <<-HEREEND
+ parallel0.present = "TRUE"
+ parallel0.startConnected = "TRUE"
+ parallel0.fileType = "device"
+ parallel0.fileName = "$parallel_0"
+ parallel0.bidirectional = "TRUE"
+ parallel0.autodetect = "FALSE"
+ HEREEND
+fi
# Graphics, GPU: 3D will be enabled (even if vmware doesn't support the chip) if we whitelisted it.
if [ -n "$SLX_VMWARE_3D" ]; then