From owner-svn-src-all@FreeBSD.ORG Sun Nov 28 20:56:51 2010 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 8F98A106564A; Sun, 28 Nov 2010 20:56:51 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7C9988FC16; Sun, 28 Nov 2010 20:56:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oASKupW4047158; Sun, 28 Nov 2010 20:56:51 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oASKupWi047155; Sun, 28 Nov 2010 20:56:51 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201011282056.oASKupWi047155@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 28 Nov 2010 20:56:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216017 - in stable/8/etc: defaults periodic/daily 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: Sun, 28 Nov 2010 20:56:51 -0000 Author: pjd Date: Sun Nov 28 20:56:51 2010 New Revision: 216017 URL: http://svn.freebsd.org/changeset/base/216017 Log: MFC r215799: Add gptboot_enable rc variable, which allows to turn gptboot reporting off in case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: stable/8/etc/defaults/rc.conf stable/8/etc/rc.d/gptboot Directory Properties: stable/8/etc/ (props changed) stable/8/etc/periodic/daily/ (props changed) stable/8/etc/periodic/daily/800.scrub-zfs (props changed) stable/8/etc/periodic/security/ (props changed) Modified: stable/8/etc/defaults/rc.conf ============================================================================== --- stable/8/etc/defaults/rc.conf Sun Nov 28 19:26:20 2010 (r216016) +++ stable/8/etc/defaults/rc.conf Sun Nov 28 20:56:51 2010 (r216017) @@ -58,6 +58,8 @@ rc_conf_files="/etc/rc.conf /etc/rc.conf # ZFS support zfs_enable="NO" # Set to YES to automatically mount ZFS file systems +gptboot_enable="YES" # GPT boot success/failure reporting. + # Experimental - test before enabling gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab gbde_devices="NO" # Devices to automatically attach (list, or AUTO) Modified: stable/8/etc/rc.d/gptboot ============================================================================== --- stable/8/etc/rc.d/gptboot Sun Nov 28 19:26:20 2010 (r216016) +++ stable/8/etc/rc.d/gptboot Sun Nov 28 20:56:51 2010 (r216017) @@ -34,6 +34,7 @@ . /etc/rc.subr name="gptboot" +rcvar=`set_rcvar` start_cmd="gptboot_report" gptboot_report()