- Do not include /etc/ttys on base package, it's not supposed to be replaced during upgrade - Create a script /etc/rc.console_setup to make it easy to call setup_serial_port() from shell scripts. This script will update /etc/ttys accordingly - Call /etc/rc.console_setup just after 2nd stage of upgrade happened and new files are in place
Related issues
Bug #6120: Password protect, baud on console menu not initially set post-upgrade on nanobsd and 2.3->2.3
Fix #6120
- Do not include /etc/ttys on base package, it's not supposed to be
replaced during upgrade
- Create a script /etc/rc.console_setup to make it easy to call
setup_serial_port() from shell scripts. This script will update
/etc/ttys accordingly
- Call /etc/rc.console_setup just after 2nd stage of upgrade happened
and new files are in place