From 1831d3486317a6ac8a8bfd034bb133f9b0dc55e7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 9 May 2016 09:51:51 -0300 Subject: 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 --- tools/templates/core_pkg/base-nanobsd/exclude_files | 1 + tools/templates/core_pkg/base/exclude_files | 1 + 2 files changed, 2 insertions(+) (limited to 'tools/templates/core_pkg') diff --git a/tools/templates/core_pkg/base-nanobsd/exclude_files b/tools/templates/core_pkg/base-nanobsd/exclude_files index 2c915af..91e682b 100644 --- a/tools/templates/core_pkg/base-nanobsd/exclude_files +++ b/tools/templates/core_pkg/base-nanobsd/exclude_files @@ -22,6 +22,7 @@ ./etc/rc.conf ./etc/spwd.db ./etc/syslog.conf +./etc/ttys ./media ./mnt ./proc diff --git a/tools/templates/core_pkg/base/exclude_files b/tools/templates/core_pkg/base/exclude_files index 2c915af..91e682b 100644 --- a/tools/templates/core_pkg/base/exclude_files +++ b/tools/templates/core_pkg/base/exclude_files @@ -22,6 +22,7 @@ ./etc/rc.conf ./etc/spwd.db ./etc/syslog.conf +./etc/ttys ./media ./mnt ./proc -- cgit v1.1