summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2002-01-08 12:04:44 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2002-01-08 12:04:44 +0000
commit911c65541bd047cb6a4b3dc1cd1c9715cc8e3b78 (patch)
tree0658bc103d2b83205a27912d7928c3537f8f9527 /etc/rc
parenta552b62097977063fbf11685c37d74a95ab1c2d0 (diff)
Permit flags to be set for savecore, e.g. to compress core dumps
ok millert@ fgsch@
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 f484a4539b6..045f5584160 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.187 2001/12/30 16:34:50 markus Exp $
+# $OpenBSD: rc,v 1.188 2002/01/08 12:04:43 tholo Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -302,7 +302,7 @@ swapctl -A -t noblk
# /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
- savecore /var/crash
+ savecore ${savecore_flags} /var/crash
fi
if [ "X${afs}" = X"YES" -a -c ${afs_device} -a -d ${afs_mount_point} ]; then