diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-27 07:49:49 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-27 07:49:49 -0300 |
commit | 03b565250ad695a386319d5c2adf6e731f34efd0 (patch) | |
tree | 7ce63f44b9f6cb7992685da716ee9c349418bea4 /src/usr/local/www/system_advanced_admin.php | |
parent | 5563e8ba736bee091959ecafd0455b0dd48fcac5 (diff) | |
download | pfsense-03b565250ad695a386319d5c2adf6e731f34efd0.zip pfsense-03b565250ad695a386319d5c2adf6e731f34efd0.tar.gz |
Obsolete use of /etc/nano_use_vga.txt, Use enableserial_force flag instead
Diffstat (limited to 'src/usr/local/www/system_advanced_admin.php')
-rw-r--r-- | src/usr/local/www/system_advanced_admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_advanced_admin.php b/src/usr/local/www/system_advanced_admin.php index a449452..b6c1aeb 100644 --- a/src/usr/local/www/system_advanced_admin.php +++ b/src/usr/local/www/system_advanced_admin.php @@ -556,7 +556,7 @@ function prot_change() { <tr> <td colspan="2" valign="top" class="listtopic"><?=gettext("Serial Communications"); ?></td> </tr> - <?php if (!$g['enableserial_force'] && ($g['platform'] == "pfSense" || $g['platform'] == "cdrom" || file_exists("/etc/nano_use_vga.txt"))): ?> + <?php if (!$g['enableserial_force'] && ($g['platform'] == "pfSense" || $g['platform'] == "cdrom")): ?> <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Serial Terminal"); ?></td> <td width="78%" class="vtable"> @@ -580,7 +580,7 @@ function prot_change() { <br /><?=gettext("Allows selection of different speeds for the serial console port."); ?> </td> </tr> - <?php if (!$g['primaryconsole_force'] && ($g['platform'] == "pfSense" || $g['platform'] == "cdrom" || file_exists("/etc/nano_use_vga.txt"))): ?> + <?php if (!$g['primaryconsole_force'] && ($g['platform'] == "pfSense" || $g['platform'] == "cdrom" || !isset($g['enableserial_force']))): ?> <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Primary Console")?></td> <td width="78%" class="vtable"> |