diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 2002-01-08 12:04:44 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 2002-01-08 12:04:44 +0000 |
commit | 911c65541bd047cb6a4b3dc1cd1c9715cc8e3b78 (patch) | |
tree | 0658bc103d2b83205a27912d7928c3537f8f9527 /etc/rc | |
parent | a552b62097977063fbf11685c37d74a95ab1c2d0 (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/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |