From 911c65541bd047cb6a4b3dc1cd1c9715cc8e3b78 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Tue, 8 Jan 2002 12:04:44 +0000 Subject: Permit flags to be set for savecore, e.g. to compress core dumps ok millert@ fgsch@ --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc') 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 -- cgit v1.2.3