mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
A simple fix for #6120
- Retire system_console_configure() - Replace above call on rc.bootup by setup_serial_port()
This commit is contained in:
parent
e7c23d826e
commit
941ddb5253
@ -1956,20 +1956,6 @@ function system_do_shell_commands($early = 0) {
|
||||
}
|
||||
}
|
||||
|
||||
function system_console_configure() {
|
||||
global $config, $g;
|
||||
if (isset($config['system']['developerspew'])) {
|
||||
$mt = microtime();
|
||||
echo "system_console_configure() being called $mt\n";
|
||||
}
|
||||
|
||||
if (isset($config['system']['disableconsolemenu'])) {
|
||||
touch("{$g['varetc_path']}/disableconsole");
|
||||
} else {
|
||||
unlink_if_exists("{$g['varetc_path']}/disableconsole");
|
||||
}
|
||||
}
|
||||
|
||||
function system_dmesg_save() {
|
||||
global $g;
|
||||
if (isset($config['system']['developerspew'])) {
|
||||
|
||||
@ -319,8 +319,8 @@ echo "done.\n";
|
||||
/* start load balancer daemon */
|
||||
relayd_configure();
|
||||
|
||||
/* configure console menu */
|
||||
system_console_configure();
|
||||
/* configure console menu and serial port*/
|
||||
setup_serial_port();
|
||||
|
||||
/* start DHCP service */
|
||||
services_dhcpd_configure();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user