diff --git a/src/etc/rc b/src/etc/rc index f484a453..045f5584 100644 --- a/src/etc/rc +++ b/src/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 diff --git a/src/etc/rc.conf b/src/etc/rc.conf index 2e555a95..09ba1de1 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.71 2001/11/19 03:03:33 deraadt Exp $ +# $OpenBSD: rc.conf,v 1.72 2002/01/08 12:04:43 tholo Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -72,6 +72,7 @@ multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted # miscellaneous other flags # only used if the appropriate server is marked YES above +savecore_flags= # "-z" to compress gated_flags= ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp