summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1995-10-30 20:20:49 +0000
committerguido <guido@FreeBSD.org>1995-10-30 20:20:49 +0000
commitf624492c3fec14b0317f9ae140d03a8823e5c864 (patch)
treef0fe04a0669416a016bb1a3c5c260142594f31de /sys/i386/conf
parent9c65ce66e19a6adc907dc89a9c31313ea73980d5 (diff)
downloadFreeBSD-src-f624492c3fec14b0317f9ae140d03a8823e5c864.zip
FreeBSD-src-f624492c3fec14b0317f9ae140d03a8823e5c864.tar.gz
When moving kernel to kernel.old, also change kern.bootfile.to
kernel.old. This is a solution for only the first install on a running system, but it's better than it is now.
Diffstat (limited to 'sys/i386/conf')
-rw-r--r--sys/i386/conf/Makefile.i3863
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386
index 511c499..0203f46 100644
--- a/sys/i386/conf/Makefile.i386
+++ b/sys/i386/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.66 1995/08/16 16:11:48 bde Exp $
+# $Id: Makefile.i386,v 1.67 1995/10/29 11:10:53 davidg Exp $
#
# Makefile for FreeBSD
#
@@ -175,6 +175,7 @@ tags:
install:
chflags noschg /kernel
mv /kernel /kernel.old
+ sysctl -w kern.bootfile=/kernel.old
install -c -m 555 -o root -g wheel -fschg kernel /
ioconf.o: ioconf.c $S/sys/param.h machine/pte.h $S/sys/buf.h \
OpenPOWER on IntegriCloud