system: logic error on previous

This commit is contained in:
Franco Fichtner 2016-11-28 07:12:26 +01:00
parent d28b79a90d
commit 7e4c3cf76e

View File

@ -1648,7 +1648,7 @@ function system_login_configure()
$etc_ttys_lines = explode("\n", file_get_contents('/etc/ttys'));
$fd = fopen('/etc/ttys', 'w');
$on_off_secure_u = $serial_enabled ? 'onifconsole secure' : 'off secure';
$on_off_secure_v = $virtual_enabled ? 'off secure' : 'on secure';
$on_off_secure_v = $virtual_enabled ? 'on secure' : 'off secure';
$terminal_type = 'cons25'; /* XXX standard is 'xterm' for virtual, 'vt100' for serial */
if (isset($config['system']['disableconsolemenu'])) {
$console_type = 'Pc';