Revision 4c9e22b9
Added by Jim Pingle almost 13 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
998 | 998 |
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"'; |
999 | 999 |
$new_boot_config[] = 'console="comconsole,vidconsole"'; |
1000 | 1000 |
} elseif ($g['platform'] == "nanobsd") { |
1001 |
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"'; |
|
1002 |
$new_boot_config[] = 'console="comconsole"'; |
|
1001 |
if (file_exists("/etc/nano_use_vga.txt")) { |
|
1002 |
$new_boot_config[] = 'boot_multicons="YES"'; |
|
1003 |
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"'; |
|
1004 |
$new_boot_config[] = 'console="vidconsole,comconsole"'; |
|
1005 |
} else { |
|
1006 |
$new_boot_config[] = 'comconsole_speed="' . $serialspeed . '"'; |
|
1007 |
$new_boot_config[] = 'console="comconsole"'; |
|
1008 |
} |
|
1003 | 1009 |
} |
1004 | 1010 |
file_put_contents($loader_conf_file, implode("\n", $new_boot_config) . "\n"); |
1005 | 1011 |
} |
Also available in: Unified diff
Add another test here for Nano+VGA to preserve the console selection.