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 10:06:22 -0300
commit1831d3486317a6ac8a8bfd034bb133f9b0dc55e7 (patch)
treea1e23116905738ff170fcbcb37b07c646c53085c /tools/templates
parentad9b77f9ebef8a87e1ab912075bbcd50c02b27de (diff)
downloadpfsense-1831d3486317a6ac8a8bfd034bb133f9b0dc55e7.zip
pfsense-1831d3486317a6ac8a8bfd034bb133f9b0dc55e7.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