summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2005-12-01 21:39:43 +0000
committerphilip <philip@FreeBSD.org>2005-12-01 21:39:43 +0000
commit8d5a0ba673e77915711316d9d132bd56efe12a2d (patch)
tree15813f5eccc311ae0b05afa2b8b6d2654d36ec1b
parentc1d43a60c3b01e74a96a2acb45e648258f9bba69 (diff)
downloadFreeBSD-src-8d5a0ba673e77915711316d9d132bd56efe12a2d.zip
FreeBSD-src-8d5a0ba673e77915711316d9d132bd56efe12a2d.tar.gz
Preserve /etc/sysctl.conf when doing a binary update. This prevents, for
instance, the dreaded shared memory problem in PostgreSQL coming back to haunt you after a binary update. PR: 89817 Submitted by: edwin MFC after: 2 days
-rw-r--r--usr.sbin/sysinstall/installUpgrade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c
index aa7ec88..b25a7da 100644
--- a/usr.sbin/sysinstall/installUpgrade.c
+++ b/usr.sbin/sysinstall/installUpgrade.c
@@ -118,6 +118,7 @@ static HitList etc_files [] = {
{ JUST_COPY, "skeykeys", TRUE, NULL },
{ JUST_COPY, "spwd.db", TRUE, NULL },
{ JUST_COPY, "ssh", TRUE, NULL },
+ { JUST_COPY, "sysctl.conf", TRUE, NULL },
{ JUST_COPY, "syslog.conf", TRUE, NULL },
{ JUST_COPY, "ttys", TRUE, NULL },
{ JUST_COPY, "uucp", TRUE, NULL },
OpenPOWER on IntegriCloud