summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2006-01-18 04:53:48 +0000
committerwes <wes@FreeBSD.org>2006-01-18 04:53:48 +0000
commit9455e2dc0d732dfe18cdb8d95ab477ca5917c4ec (patch)
treee09eca177dc8b241befce0d85e1cdff5f829b875 /etc
parent1ba68b0ac579a801e78b1591ad48bf336ec69597 (diff)
downloadFreeBSD-src-9455e2dc0d732dfe18cdb8d95ab477ca5917c4ec.zip
FreeBSD-src-9455e2dc0d732dfe18cdb8d95ab477ca5917c4ec.tar.gz
Tell nextboot to clean up after itself.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/root4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.d/root b/etc/rc.d/root
index 8b81699..cc70301 100755
--- a/etc/rc.d/root
+++ b/etc/rc.d/root
@@ -34,9 +34,7 @@ root_start()
# If we booted a special kernel remove the record
# so we will boot the default kernel next time.
- if [ -e /boot/nextboot.conf ]; then
- rm -f /boot/nextboot.conf
- fi
+ /sbin/nextboot -D
}
load_rc_config $name
OpenPOWER on IntegriCloud