diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-09 09:51:51 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-09 09:51:51 -0300 |
commit | 4cbe0b132f0d60b71a20052fae1155210a1f5a16 (patch) | |
tree | 716e114ccc074b7f7976ccd050bd09327aa3168c /tools | |
parent | 96ca32a2460d8b0018533dc1e9d09fb6448ce74e (diff) | |
download | pfsense-4cbe0b132f0d60b71a20052fae1155210a1f5a16.zip pfsense-4cbe0b132f0d60b71a20052fae1155210a1f5a16.tar.gz |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/templates/core_pkg/base-nanobsd/exclude_files | 1 | ||||
-rw-r--r-- | tools/templates/core_pkg/base/exclude_files | 1 |
2 files changed, 2 insertions, 0 deletions
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 |