diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-06-02 23:36:56 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-06-02 23:36:56 -0500 |
commit | 7112bcc8eac852680700340cb296ee08b80b2e4a (patch) | |
tree | 39daed911e9766e76103af7bd9d578acd023c314 /etc | |
parent | dbd919ecd58ba49a9955b874b1f1b92a69f9d575 (diff) | |
download | pfsense-7112bcc8eac852680700340cb296ee08b80b2e4a.zip pfsense-7112bcc8eac852680700340cb296ee08b80b2e4a.tar.gz |
device_type isn't used here
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 4efec89..d7ffe7d 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -947,7 +947,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"; @@ -1027,7 +1027,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"'; |