summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-16 15:26:34 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-16 15:26:34 +0000
commit55f958f523c1100f3ee778b4999553c96405d5c5 (patch)
treec5e413742190d416b82d869c469642e8a2f53fe2 /etc/rc
parent23ab65a9de5ca4168c93cb7dd55b74fdfd1bca54 (diff)
downloadFreeBSD-src-55f958f523c1100f3ee778b4999553c96405d5c5.zip
FreeBSD-src-55f958f523c1100f3ee778b4999553c96405d5c5.tar.gz
Having two knobs until you get a kernel core dump saved is silly.
Leave dumpdev, but kill the savecore variable. Thus, it's still off by default, but all you need is enabling dumpdev now. phk's old argument that savecore might inadvertendly fill up the disk no longer counts, savecore now correctly obeyes a `minfree' file, and we ship our systems with such a file that even has a reasonable default.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 967cfe2..c64b5e91 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id$
+# $Id: rc,v 1.113 1997/02/23 09:20:46 peter Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -157,7 +157,7 @@ fi
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
-if [ "X${savecore}" = X"YES" -a -d /var/crash ]; then
+if [ -d /var/crash ]; then
echo -n checking for core dump...
savecore /var/crash
fi
OpenPOWER on IntegriCloud