Only so savecore if people ask for it.

This commit is contained in:
phk 1994-11-07 04:02:26 +00:00
parent 932814c462
commit 7b78e3a232
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: netstart,v 1.15 1994/10/06 20:52:00 pst Exp $
# $Id: netstart,v 1.16 1994/11/02 23:50:54 phk Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
defaultrouter=NO
@ -14,6 +14,7 @@ amdflags="NO"
nfs_client=NO
nfs_server=NO
name_server=NO
savecore=NO
#kerberos_server=YES
#gated=YES

4
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.37 1994/11/01 16:24:03 ache Exp $
# $Id: rc,v 1.38 1994/11/02 09:41:35 ache Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -108,7 +108,7 @@ echo '.'
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
if [ -d /var/crash ]; then
if [ X${savecore} != X"NO" -a -d /var/crash ]; then
echo checking for core dump...
savecore /var/crash
fi