Date: Sun, 11 Mar 2001 22:15:21 -0500 From: "David A. Panariti" <davep@who.net> To: freebsd-stable@freebsd.org Subject: /etc/rc savecore request Message-ID: <200103120315.f2C3FLa02859@baloo.ne.mediaone.net>
next in thread | raw e-mail | index | archive | help
I'm not certain if this is the place to post this, but I don't think it qualifies as a bug. Here are 2 patches /etc/rc and /etc/defaults/rc.conf to implement a request for a microscopic change wrt the calling of savecore: --- rc.orig Sun Mar 11 21:50:03 2001 +++ rc Sun Mar 11 21:50:43 2001 @@ -379,7 +379,7 @@ if [ -e "${dumpdev}" -a -d /var/crash ]; then dumpon -v ${dumpdev} echo -n 'Checking for core dump: ' - savecore /var/crash + savecore ${savecore_flags} /var/crash fi ;; esac And the corresponding change in /etc/defaults/rc.conf: --- rc.conf.orig Sun Mar 11 21:56:51 2001 +++ rc.conf Sun Mar 11 22:01:20 2001 @@ -307,6 +307,7 @@ sendmail_enable="YES" # Run the sendmail daemon (or NO). sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled) dumpdev="NO" # Device name to crashdump to (or NO). +savecore_flags="" # Flags to savecore (if dump exists). enable_quotas="NO" # turn on quotas on startup (or NO). check_quotas="YES" # Check quotas on startup (or NO). accounting_enable="NO" # Turn on process accounting (or NO). Over the years all of my /etc hacks have been moved into well considered config files. This change will mean that I will not have to edit any of the non-config type files. thanks, davep -- Whom computers would destroy, they must first drive mad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103120315.f2C3FLa02859>