Commit 7e4c3cf7 authored by Franco Fichtner's avatar Franco Fichtner

system: logic error on previous

parent d28b79a9
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment