diff options
author | joerg <joerg@FreeBSD.org> | 1997-09-21 16:09:48 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-09-21 16:09:48 +0000 |
commit | dc3fadf2134541c9e70548f4897b01f2f8bddf07 (patch) | |
tree | 593610512fd73fb603d94dd129e0d9fff42846fe /etc/rc | |
parent | aab3d0a47854b3b263f0dca21d8393aaa8e2a94d (diff) | |
download | FreeBSD-src-dc3fadf2134541c9e70548f4897b01f2f8bddf07.zip FreeBSD-src-dc3fadf2134541c9e70548f4897b01f2f8bddf07.tar.gz |
Unspam rev 1.114 that got spammed when someone commited the rc.conf
changes: drop `savecore_enable' now that our savecore obeyes the
minfree file.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.136 1997/09/13 09:29:21 brian Exp $ +# $Id: rc,v 1.137 1997/09/13 21:07:12 brian Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -134,13 +134,10 @@ rm -rf /var/spool/uucp/.Temp/* (cd /var/run && { cp /dev/null utmp; chmod 644 utmp; }) # enable dumpdev so that savecore can see it -if [ "X${dumpdev}" != X"NO" -a -e ${dumpdev} ]; then - dumpon ${dumpdev} -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_enable}" = X"YES" -a -d /var/crash ]; then +if [ "X${dumpdev}" != X"NO" -a -e ${dumpdev} -a -d /var/crash ]; then + dumpon ${dumpdev} echo -n checking for core dump... savecore /var/crash fi |