diff options
author | phk <phk@FreeBSD.org> | 1994-11-07 04:02:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-07 04:02:26 +0000 |
commit | 7b78e3a2326ad209194b5303d7662c996f0c0fdd (patch) | |
tree | a334c8448754de8bb21c56c149e34dc0e3a8dc54 /etc | |
parent | 932814c462fa889d677234018454e9eb4a1b5e2d (diff) | |
download | FreeBSD-src-7b78e3a2326ad209194b5303d7662c996f0c0fdd.zip FreeBSD-src-7b78e3a2326ad209194b5303d7662c996f0c0fdd.tar.gz |
Only so savecore if people ask for it.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/netstart | 3 | ||||
-rw-r--r-- | etc/rc | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/netstart b/etc/netstart index bdc2119..a509e5a 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 @@ -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 |