aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-11-07 04:02:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-11-07 04:02:26 +0000
commit13cd44971d637f4f94d633019b86105499eb0a95 (patch)
treea334c8448754de8bb21c56c149e34dc0e3a8dc54
parent544f693f5a21e1db762b4061945eb41ce17222ce (diff)
downloadsrc-13cd44971d637f4f94d633019b86105499eb0a95.tar.gz
src-13cd44971d637f4f94d633019b86105499eb0a95.zip
Only so savecore if people ask for it.
Notes
Notes: svn path=/head/; revision=4223
-rwxr-xr-xetc/netstart3
-rw-r--r--etc/rc4
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/netstart b/etc/netstart
index bdc2119dfcbd..a509e5a74f50 100755
--- a/etc/netstart
+++ b/etc/netstart
@@ -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
diff --git a/etc/rc b/etc/rc
index e14efccf999e..ffd79d75e54f 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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