aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorWes Peters <wes@FreeBSD.org>2002-04-26 07:31:04 +0000
committerWes Peters <wes@FreeBSD.org>2002-04-26 07:31:04 +0000
commit1de372dcd4f43ef10b5f8ee95dc32c45d770a134 (patch)
tree7ead246584ad34442c705cb33fc0bfa686914287 /etc
parenta182065f277d1064a2e6aecc6d80f12c4860d4c1 (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index c5e7d53cd26f..ed4ceeab5f38 100644
--- a/etc/rc
+++ b/etc/rc
@@ -314,6 +314,10 @@ if [ -n "${diskless_mount}" -a -r "${diskless_mount}" ]; then
sh ${diskless_mount}
fi
+# If we booted a special kernel remove the record so we will boot
+# the default kernel next time
+rm -f /boot/nextkernel
+
# Reseed /dev/random with previously stored entropy.
case ${entropy_dir} in
[Nn][Oo])