summaryrefslogtreecommitdiffstats
path: root/tools/templates
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-09 09:51:51 -0300
committerRenato Botelho <renato@netgate.com>2016-05-09 09:51:51 -0300
commit4cbe0b132f0d60b71a20052fae1155210a1f5a16 (patch)
tree716e114ccc074b7f7976ccd050bd09327aa3168c /tools/templates
parent96ca32a2460d8b0018533dc1e9d09fb6448ce74e (diff)
downloadpfsense-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/templates')
-rw-r--r--tools/templates/core_pkg/base-nanobsd/exclude_files1
-rw-r--r--tools/templates/core_pkg/base/exclude_files1
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
OpenPOWER on IntegriCloud