svn commit: r216017 - in stable/8/etc: defaults periodic/daily rc.d

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Nov 28 20:56:51 UTC 2010


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()


More information about the svn-src-all mailing list