From owner-svn-src-all@FreeBSD.ORG Sat Mar 21 21:12:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FB49106564A; Sat, 21 Mar 2009 21:12:17 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBC78FC13; Sat, 21 Mar 2009 21:12:17 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LLCH0W047041; Sat, 21 Mar 2009 21:12:17 GMT (envelope-from rodrigc@svn.freebsd.org) Received: (from rodrigc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2LLCHOV047040; Sat, 21 Mar 2009 21:12:17 GMT (envelope-from rodrigc@svn.freebsd.org) Message-Id: <200903212112.n2LLCHOV047040@svn.freebsd.org> From: Craig Rodrigues Date: Sat, 21 Mar 2009 21:12:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190216 - stable/7/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 21:12:18 -0000 Author: rodrigc Date: Sat Mar 21 21:12:16 2009 New Revision: 190216 URL: http://svn.freebsd.org/changeset/base/190216 Log: MFC r180318: Remove the $DUMPDIR variable. It's redundant and the rest of the script uses $dumpdir directly. Modified: stable/7/etc/rc.d/savecore Modified: stable/7/etc/rc.d/savecore ============================================================================== --- stable/7/etc/rc.d/savecore Sat Mar 21 20:44:46 2009 (r190215) +++ stable/7/etc/rc.d/savecore Sat Mar 21 21:12:16 2009 (r190216) @@ -17,11 +17,6 @@ stop_cmd=":" savecore_prestart() { - # ${DUMPDIR} should be a directory or a symbolic link - # to the crash directory if core dumps are to be saved. - # - DUMPDIR="${dumpdir:-/var/crash}" - # Quit if we have no dump device case ${dumpdev} in [Nn][Oo] | '') @@ -58,7 +53,7 @@ savecore_prestart() savecore_start() { echo "Checking for core dump on ${dumpdev}..." - savecore ${savecore_flags} ${DUMPDIR} ${dumpdev} + savecore ${savecore_flags} ${dumpdir} ${dumpdev} } load_rc_config $name