diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-09 10:27:45 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-09 10:29:24 -0300 |
commit | 65aac79d990ec1165418901b48cc0bc7e9fb7379 (patch) | |
tree | 3d1075e3fae67a4204a72ad61946a8dad5a5dc36 /src | |
parent | bce2ce6025d524d08380b323a471fbae8ce92339 (diff) | |
download | pfsense-65aac79d990ec1165418901b48cc0bc7e9fb7379.zip pfsense-65aac79d990ec1165418901b48cc0bc7e9fb7379.tar.gz |
A simple fix for #6120
- Retire system_console_configure()
- Replace above call on rc.bootup by setup_serial_port()
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/system.inc | 14 | ||||
-rwxr-xr-x | src/etc/rc.bootup | 4 |
2 files changed, 2 insertions, 16 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 6b7d19f..e27f4d1 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -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'])) { diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup index ce93acd..3fb775f 100755 --- a/src/etc/rc.bootup +++ b/src/etc/rc.bootup @@ -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(); |