summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-06-02 23:36:56 -0500
committerChris Buechler <cmb@pfsense.org>2015-06-02 23:37:23 -0500
commit9f390fb82bb6041c0ec359cd3dbc48f272eed30d (patch)
tree3c9a56b1c49fa86bb90b9bceadf3dcacfdb4c668 /etc/inc/pfsense-utils.inc
parentb532745a9a14263cc33079f348e874ffe08fa42f (diff)
downloadpfsense-9f390fb82bb6041c0ec359cd3dbc48f272eed30d.zip
pfsense-9f390fb82bb6041c0ec359cd3dbc48f272eed30d.tar.gz
device_type isn't used here
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index b48d0bf..867e606 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -982,7 +982,7 @@ function reload_all_sync() {
}
function setup_serial_port($when="save", $path="") {
- global $g, $config, $device_type;
+ global $g, $config;
conf_mount_rw();
$ttys_file = "{$path}/etc/ttys";
$boot_config_file = "{$path}/boot.config";
@@ -1068,7 +1068,7 @@ function setup_serial_port($when="save", $path="") {
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"';
$specplatform = system_identify_specific_platform();
- if ($device_type == "ADI" || $specplatform['name'] == "RCC-VE") {
+ if ($specplatform['name'] == "RCC-VE") {
$new_boot_config[] = 'comconsole_port="0x2F8"';
$new_boot_config[] = 'hint.uart.0.flags="0x00"';
$new_boot_config[] = 'hint.uart.1.flags="0x10"';
OpenPOWER on IntegriCloud