Was this changed recently? it's assuming '/dev/'. There should be an exception for port modem.
Code: Select all
// Set the MMDVMHost Display Type
if (empty($_POST['mmdvmDisplayPort']) != TRUE ) {
if ($_POST['mmdvmDisplayPort'] == "None") {
$configmmdvm['TFT Serial']['Port'] = $_POST['mmdvmDisplayPort'];
$configmmdvm['Nextion']['Port'] = $_POST['mmdvmDisplayPort'];
} else {
$configmmdvm['TFT Serial']['Port'] = "/dev/".$_POST['mmdvmDisplayPort'];
$configmmdvm['Nextion']['Port'] = "/dev/".$_POST['mmdvmDisplayPort'];
}
}